mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 01:04:39 +02:00
Also prevent showing tool tip when quiet mode is used
This commit is contained in:
parent
0088593506
commit
b30df4261d
7
lynis
7
lynis
@ -1108,7 +1108,12 @@ ${NORMAL}
|
|||||||
LogText "Program ended successfully"
|
LogText "Program ended successfully"
|
||||||
LogText "================================================================================"
|
LogText "================================================================================"
|
||||||
|
|
||||||
if [ -z "${CUSTOM_PROFILE}" ]; then DisplayToolTip "Enhance ${PROGRAM_NAME} audits by adding your settings to custom.prf (see ${DEFAULT_PROFILE} for all settings)"; fi
|
# Tool tips
|
||||||
|
|
||||||
|
if [ ${QUIET} -eq 0 ]; then
|
||||||
|
|
||||||
|
if [ -z "${CUSTOM_PROFILE}" ]; then DisplayToolTip "Enhance ${PROGRAM_NAME} audits by adding your settings to custom.prf (see ${DEFAULT_PROFILE} for all settings)"; fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Clean exit (Delete PID file)
|
# Clean exit (Delete PID file)
|
||||||
if [ ${TOTAL_WARNINGS} -gt 0 ]; then
|
if [ ${TOTAL_WARNINGS} -gt 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user