Daniel Gibbs há 10 anos atrás
pai
commit
45c2ef3816
1 ficheiros alterados com 1 adições e 1 exclusões
  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