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:
authormboelen <michael@cisofy.com>2016-04-19 22:09:48 +0300
committermboelen <michael@cisofy.com>2016-04-19 22:09:48 +0300
commit4f2ae07fd43a1590e28fe3c462e68319319145af (patch)
tree12a0c3e15611e0247570f04348d4e8c78d928afa /lynis
parentb1403aac206ac70d6cede5c3a77365c5c856a580 (diff)
Show program details when being verbose
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis13
1 files changed, 12 insertions, 1 deletions
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