diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-10 15:51:25 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-10 15:51:25 +0300 |
commit | b30df4261d0b21fc57f61f333ee362f9db1d3a13 (patch) | |
tree | a51290c835f3c6596d612ff3e9192438e8d5a965 /lynis | |
parent | 0088593506138b54f6edcabf995fdaac5cbeee9a (diff) |
Also prevent showing tool tip when quiet mode is used
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |