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-02-02 19:07:20 +0300
committermboelen <michael@cisofy.com>2016-02-02 19:07:20 +0300
commitac5c98d76cf426eb84a81d7431ff82a3eb018dad (patch)
treeb14bfdc0c37cecb1d2e52e0af1a7c60e52c1fa60 /lynis
parent647b482c533c910c56d6178a29ffa36f4fe52bf8 (diff)
Show what profile is used when using --config
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis6
1 files changed, 6 insertions, 0 deletions
diff --git a/lynis b/lynis
index 802de1bf..e0d48b75 100755
--- a/lynis
+++ b/lynis
@@ -289,6 +289,12 @@
ExitCustom 66
fi
+ if [ ${SHOW_SETTINGS_FILE} -eq 1 ]; then
+ echo "Settings file: ${PROFILE}"
+ echo ""; echo ""
+ ExitClean
+ fi
+
# Initialize and check profile file, auditor name, log file and report file
if [ ! -r ${PROFILE} ]; then echo "Fatal error: Can't open profile file (${PROFILE})"; exit 1; fi
if [ "${AUDITORNAME}" = "" ]; then AUDITORNAME="[Unknown]"; fi