diff --git a/main.sh b/main.sh index 81cad43..8fef5ac 100644 --- a/main.sh +++ b/main.sh @@ -111,7 +111,7 @@ game_send_package() { restart_server "core" "$channel" fi else - cat "$channel" | while read -r ip; do + cat "txt/$channel" | while read -r ip; do unzip_package $channel $package $source_tar $destination_dir if [[ $reboot -eq 1 ]]; then restart_server "core" "$ip" @@ -130,7 +130,7 @@ gm_send_package() { if is_valid_ip "$channel"; then unzip_package $channel $package $source_tar $destination_dir else - cat "$channel" | while read -r ip; do + cat "txt/$channel" | while read -r ip; do unzip_package $ip $package $source_tar $destination_dir done fi