mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-23 19:14:34 +02:00

committed by
Thibault Ayanides

parent
cbd81b8ab2
commit
d110a2aa19
@ -61,7 +61,7 @@ apply() {
|
||||
ok "$PATTERN is present in $FILE"
|
||||
else
|
||||
warn "$PATTERN is not present in $FILE, adding it"
|
||||
does_pattern_exist_in_file "$FILE" "^${SSH_PARAM}"
|
||||
does_pattern_exist_in_file_nocase "$FILE" "^${SSH_PARAM}"
|
||||
if [ "$FNRET" != 0 ]; then
|
||||
add_end_of_file "$FILE" "$SSH_PARAM $SSH_VALUE"
|
||||
else
|
||||
|
Reference in New Issue
Block a user