Minor changes to identation and variable names

This commit is contained in:
mboelen 2016-05-02 13:26:27 +02:00
parent bcaf7a55ef
commit a765163a25
1 changed files with 6 additions and 6 deletions

View File

@ -613,8 +613,8 @@
for J in ${FIND}; do
LogText "Test: checking permissions of file ${J}"
if IsWorldWritable ${J}; then
LogText "Result: warning, file ${J} is world writable"
FOUND=1
LogText "Result: warning, file ${J} is world writable"
else
LogText "Result: good, file ${J} not world writable"
fi
@ -634,8 +634,8 @@
FIND=`find /etc/rc${NO}.d -type f -print`
for I in ${FIND}; do
if IsWorldWritable ${I}; then
LogText "Result: warning, file ${I} is world writable"
FOUND=1
LogText "Result: warning, file ${I} is world writable"
else
LogText "Result: good, file ${I} not world writable"
fi
@ -649,15 +649,15 @@
if [ -f ${I} ]; then
ShowSymlinkPath "${I}"
if [ ${FOUNDPATH} -eq 1 ]; then
CHECKFILE="$SYMLINK"
CHECKFILE="${SYMLINK}"
LogText "Result: found the path behind this symlink (${CHECKFILE} --> ${I})"
else
CHECKFILE="$I"
else
CHECKFILE="${I}"
fi
LogText "Test: Checking ${CHECKFILE} file for writable bit"
if IsWorldWritable ${CHECKFILE}; then
ReportWarning ${TEST_NO} "H" "Found writable startup script ${CHECKFILE}"
FOUND=1
ReportWarning ${TEST_NO} "H" "Found writable startup script ${CHECKFILE}"
LogText "Result: warning, file ${CHECKFILE} is world writable"
else
LogText "Result: good, file ${CHECKFILE} not world writable"