From e446730a2febd813b9c6bbf3ba445c88fc634958 Mon Sep 17 00:00:00 2001 From: Andrew Marchukov Date: Thu, 29 Apr 2021 10:46:58 +0300 Subject: [PATCH] fix --- AutoUpdater/check-manifest.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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