Daniel Gibbs il y a 10 ans
Parent
commit
45c2ef3816
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lgsm/functions/alert.sh

+ 1 - 1
lgsm/functions/alert.sh

@@ -32,7 +32,7 @@ fn_alert_update(){
 
 if [ "${alert}" == "restart" ]; then
 	fn_alert_restart
-if [ "${alert}" == "queryrestart" ]; then
+elif [ "${alert}" == "queryrestart" ]; then
 	fn_alert_queryrestart
 elif [ "${alert}" == "update" ]; then
 	fn_alert_update