diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2018-01-26 15:00:24 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2018-01-26 15:00:24 +0300 |
commit | 96b21da96a0ea0910be13c9b9c15815aa17f7687 (patch) | |
tree | 68a5e8d5cd48386d034cd66b3ca3f4e30b28a82e | |
parent | ce6693e8736cb1b1cd80ed88401b52c7f07aff7d (diff) |
Removed brackets while searching for home directory entries
-rw-r--r-- | include/tests_homedirs | 2 |
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 |