diff --git a/main.sh b/main.sh index 070f527..898012e 100644 --- a/main.sh +++ b/main.sh @@ -269,8 +269,8 @@ gm_option() { restart_server "admin" "$ip" elif [ "$action" = "batch_reboot" ]; then local path="/data/update/script/txt/gm_ip.txt" - echo -e "开始更新gm" while read -r ip; do + echo -e "开始更新gm $ip" restart_server "admin" "$ip" done < ${path} fi