Fix a bug for 9.2.14

This commit is contained in:
Samson-W 2020-01-15 00:06:57 +08:00
parent 74a6bb379f
commit 1700f375a4

View File

@ -48,7 +48,7 @@ audit_debian () {
audit_redhat () {
for FILE in $FILES; do
does_pattern_exist_in_file $FILE $PATTERN
does_pattern_exist_in_file $FILE $OPTIONNAME
if [ $FNRET = 0 ]; then
crit "$OPTIONNAME is configured in $FILE"
FNRET=1