diff options
author | mboelen <michael@cisofy.com> | 2016-02-02 19:07:20 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-02-02 19:07:20 +0300 |
commit | ac5c98d76cf426eb84a81d7431ff82a3eb018dad (patch) | |
tree | b14bfdc0c37cecb1d2e52e0af1a7c60e52c1fa60 /lynis | |
parent | 647b482c533c910c56d6178a29ffa36f4fe52bf8 (diff) |
Show what profile is used when using --config
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |