From 4f2ae07fd43a1590e28fe3c462e68319319145af Mon Sep 17 00:00:00 2001 From: mboelen Date: Tue, 19 Apr 2016 21:09:48 +0200 Subject: Show program details when being verbose --- lynis | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lynis') diff --git a/lynis b/lynis index bfed1256..b1e4fc99 100755 --- a/lynis +++ b/lynis @@ -721,7 +721,18 @@ ${NORMAL} # ################################################################################# # - + if IsVerbose; then + InsertSection "Program Details" + Display --indent 2 --text "- Verbose mode" --result "YES" --color GREEN + if IsDebug; then + Display --indent 2 --text "- Debug mode" --result "YES" --color GREEN + else + Display --indent 2 --text "- Debug mode" --result "NO" --color RED + fi + fi +# +################################################################################# +# # Plugins if [ ${RUN_PLUGINS} -eq 1 ]; then -- cgit v1.2.3