mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
Change from CIS reco and only warn (no crit) if logfile does not exist
This commit is contained in:
parent
863adc9c84
commit
8a7f9ddad5
@ -23,7 +23,7 @@ audit () {
|
|||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
does_file_exist $FILE
|
does_file_exist $FILE
|
||||||
if [ $FNRET != 0 ]; then
|
if [ $FNRET != 0 ]; then
|
||||||
crit "$FILE does not exist"
|
warn "$FILE does not exist"
|
||||||
else
|
else
|
||||||
has_file_correct_ownership $FILE $USER $GROUP
|
has_file_correct_ownership $FILE $USER $GROUP
|
||||||
if [ $FNRET = 0 ]; then
|
if [ $FNRET = 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user