From 4d8da0041b6435de92db590c543eee6313ff8ef8 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Mon, 7 Aug 2023 16:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 898012e..2dc121a 100644 --- a/main.sh +++ b/main.sh @@ -111,12 +111,12 @@ game_send_package() { restart_server "core" "$channel" fi else - cat "txt/$channel" | while read -r ip; do + while read -r ip; do unzip_package $ip $package $source_tar $destination_dir if [[ $reboot -eq 1 ]]; then restart_server "core" "$ip" fi - done + done < "txt/$channel" fi }