4
0
Daniel Gibbs 10 жил өмнө
parent
commit
45c2ef3816

+ 1 - 1
lgsm/functions/alert.sh

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