diff options
author | mboelen <michael@cisofy.com> | 2015-09-10 22:42:30 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-09-10 22:42:30 +0300 |
commit | 7d0759297ee60245cd5e6126a3a47a889634148c (patch) | |
tree | 8f85d09c3be766077e00251377785a6e01541d58 | |
parent | 21d305b68907c71d790785fd2a5581d0d6b6dfe9 (diff) |
Corrected case function
-rw-r--r-- | include/tests_authentication | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 05d37114..ae113f1b 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -953,7 +953,7 @@ FIND=`cat /etc/login.conf | grep "umask" | sed 's/#.*//' | sed -E 's/^[[:cntrl:]]//' | grep -v '^$' | awk -F: '{ print $2}' | awk -F= '{ if ($1=="umask") { print $2 }}'` if [ ! "${FIND}" = "" ]; then for UMASK_VALUE in ${FIND}; do - case VALUE in ${UMASK_VALUE} + case ${UMASK_VALUE} in 027|0027|077|0077) logtext "Result: found umask value ${VALUE}, which is fine" AddHP 2 2 |