Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
45c2ef3816
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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