mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 21:47:02 +01:00
Change from CIS reco and only warn (no crit) if logfile does not exist
This commit is contained in:
parent
18693200dc
commit
91642474f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user