Change from CIS reco and only warn (no crit) if logfile does not exist

This commit is contained in:
Charles Herlin 2018-03-22 18:17:17 +01:00
parent 18693200dc
commit 91642474f7

View File

@ -23,7 +23,7 @@ audit () {
for FILE in $FILES; do
does_file_exist $FILE
if [ $FNRET != 0 ]; then
crit "$FILE does not exist"
warn "$FILE does not exist"
else
has_file_correct_ownership $FILE $USER $GROUP
if [ $FNRET = 0 ]; then