Daniel Gibbs 10 年之前
父節點
當前提交
45c2ef3816
共有 1 個文件被更改,包括 1 次插入1 次删除
  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