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!"