From b30df4261d0b21fc57f61f333ee362f9db1d3a13 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 10 Sep 2019 14:51:25 +0200 Subject: Also prevent showing tool tip when quiet mode is used --- lynis | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lynis') 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 -- cgit v1.2.3