diff --git a/AutoUpdater/check-manifest.sh b/AutoUpdater/check-manifest.sh index 399d134..48bcb7d 100644 --- a/AutoUpdater/check-manifest.sh +++ b/AutoUpdater/check-manifest.sh @@ -16,8 +16,10 @@ while true; do if [ $EXITSTATUS -eq 0 ]; then if [ "$LOCALAPPVER" != "$REMOTEAPPVER" ]; then for n in {60..1}; do - rcon -a "$rconip" -p "$rconpass" "say 'THE SERVER WILL BE RESTARTED IN $n'" - sleep 1 + for rconip in $(echo "${rconlist//,/ }"); do + rcon -a "$rconip" -p "$rconpass" "say 'THE SERVER WILL BE RESTARTED IN $n'" + sleep 1 + done done /opt/restart-ins.sh fi