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
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-01-26 15:00:24 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-26 15:00:24 +0300
commit96b21da96a0ea0910be13c9b9c15815aa17f7687 (patch)
tree68a5e8d5cd48386d034cd66b3ca3f4e30b28a82e
parentce6693e8736cb1b1cd80ed88401b52c7f07aff7d (diff)
Removed brackets while searching for home directory entries
-rw-r--r--include/tests_homedirs2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_homedirs b/include/tests_homedirs
index 8944e33a..7a2f209d 100644
--- a/include/tests_homedirs
+++ b/include/tests_homedirs
@@ -96,7 +96,7 @@
if [ ! -z "${REPORTFILE}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
Register --test-no HOME-9350 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Collecting information from home directories"
if [ ${SKIPTEST} -eq 0 ]; then
- IGNORE_HOME_DIRS=$(${GREPBINARY} "^ignore-home-dir[]=" ${REPORTFILE} | ${AWKBINARY} -F= '{ print $2 }')
+ IGNORE_HOME_DIRS=$(${GREPBINARY} "^ignore-home-dir=" ${REPORTFILE} | ${AWKBINARY} -F= '{ print $2 }')
if [ -z "${IGNORE_HOME_DIRS}" ]; then
LogText "Result: IGNORE_HOME_DIRS empty, no paths excluded"
else