From 7d0759297ee60245cd5e6126a3a47a889634148c Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 10 Sep 2015 21:42:30 +0200 Subject: [PATCH] Corrected case function --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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