Fix a bug for 6.18
This commit is contained in:
parent
6a4de4e4d5
commit
61327ff523
|
@ -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!"
|
||||
|
|
Loading…
Reference in New Issue