Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lynis
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-09-10 15:51:25 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-09-10 15:51:25 +0300
commitb30df4261d0b21fc57f61f333ee362f9db1d3a13 (patch)
treea51290c835f3c6596d612ff3e9192438e8d5a965 /lynis
parent0088593506138b54f6edcabf995fdaac5cbeee9a (diff)
Also prevent showing tool tip when quiet mode is used
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis7
1 files changed, 6 insertions, 1 deletions
diff --git a/lynis b/lynis
index c72fc521..32372a37 100755
--- a/lynis
+++ b/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