From 61327ff5232fce6c33d2908cadd1a43d36c3b052 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Fri, 18 Oct 2019 03:23:30 +0800 Subject: [PATCH] Fix a bug for 6.18 --- .../6.18_ensure_virusscan_program_update_is_enabled.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hardening/6.18_ensure_virusscan_program_update_is_enabled.sh b/bin/hardening/6.18_ensure_virusscan_program_update_is_enabled.sh index 5ed088e..10fe2f8 100755 --- a/bin/hardening/6.18_ensure_virusscan_program_update_is_enabled.sh +++ b/bin/hardening/6.18_ensure_virusscan_program_update_is_enabled.sh @@ -45,7 +45,7 @@ audit_redhat () { audit () { if [ $OS_RELEASE -eq 1 ]; then audit_debian - elif [ $OS_RELEASE -eq 1 ]; then + elif [ $OS_RELEASE -eq 2 ]; then audit_redhat else crit "Current OS is not support!" @@ -73,7 +73,7 @@ apply_redhat () { apply () { if [ $OS_RELEASE -eq 1 ]; then apply_debian - elif [ $OS_RELEASE -eq 1 ]; then + elif [ $OS_RELEASE -eq 2 ]; then apply_redhat else crit "Current OS is not support!"