Modify 3.2

This commit is contained in:
samson 2018-12-11 16:55:05 +08:00
parent 8df7601664
commit b7f4300e59
1 changed files with 2 additions and 1 deletions

View File

@ -23,14 +23,15 @@ audit () {
has_file_correct_permissions $FILE $PERMISSIONS
if [ $FNRET = 0 ]; then
ok "$FILE has correct permissions"
FNRET=0
else
crit "$FILE permissions were not set to $PERMISSIONS"
FNRET=1
fi
}
# This function will be called if the script status is on enabled mode
apply () {
has_file_correct_permissions $FILE $PERMISSIONS
if [ $FNRET = 0 ]; then
ok "$FILE has correct permissions"
else