From ffa8e2b01f685c7296221daf2c71caea6b040b78 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Sat, 28 Dec 2019 16:53:15 +0800 Subject: [PATCH] Fix a bug for 9.5 --- bin/hardening/9.5_pam_restrict_su.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hardening/9.5_pam_restrict_su.sh b/bin/hardening/9.5_pam_restrict_su.sh index 5784524..fc60208 100755 --- a/bin/hardening/9.5_pam_restrict_su.sh +++ b/bin/hardening/9.5_pam_restrict_su.sh @@ -20,7 +20,7 @@ FILE='/etc/pam.d/su' # This function will be called if the script status is on enabled / audit mode audit () { - if [ OS_RELEASE -eq 2 ]; then + if [ $OS_RELEASE -eq 2 ]; then PACKAGE=$PACKAGE_REDHAT else :