mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-23 02:54:35 +02:00
fixup! IMP(4.1.x): add tests for each checks
This commit is contained in:
@ -39,7 +39,6 @@ apply () {
|
||||
does_file_exist $FILE
|
||||
if [ $FNRET != 0 ]; then
|
||||
warn "$FILE does not exist, creating it"
|
||||
mkdir -p /etc/audit
|
||||
touch $FILE
|
||||
else
|
||||
ok "$FILE exists"
|
||||
|
@ -44,7 +44,6 @@ apply () {
|
||||
does_file_exist $FILE
|
||||
if [ $FNRET != 0 ]; then
|
||||
warn "$FILE does not exist, creating it"
|
||||
mkdir -p /etc/audit/auditd.conf
|
||||
touch $FILE
|
||||
else
|
||||
ok "$FILE exists"
|
||||
|
@ -44,7 +44,6 @@ apply () {
|
||||
does_file_exist $FILE
|
||||
if [ $FNRET != 0 ]; then
|
||||
warn "$FILE does not exist, creating it"
|
||||
mkdir -p /etc/audit
|
||||
touch $FILE
|
||||
else
|
||||
ok "$FILE exists"
|
||||
|
Reference in New Issue
Block a user