mirror of https://github.com/CISOfy/lynis.git
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 "================================================================================"
|
||||
|
||||
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)
|
||||
if [ ${TOTAL_WARNINGS} -gt 0 ]; then
|
||||
|
|
Loading…
Reference in New Issue