Fix a bug for 6.18

This commit is contained in:
Samson-W 2019-10-18 03:23:30 +08:00
parent 6a4de4e4d5
commit 61327ff523
1 changed files with 2 additions and 2 deletions

View File

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