mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-23 05:55:38 +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
|
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