Merge pull request #181 from klightspeed/1.3#fixupdatewarn

Fix "infinite" update warn
This commit is contained in:
Marius Linge 2015-09-19 18:38:07 +02:00
commit b8cec29477

View File

@ -489,6 +489,7 @@ doWarnUpdate(){
fi
doBroadcastWithEcho "This ARK server will shutdown for an update in $warnseconds seconds"
sleep $(( warnseconds - warninterval ))s
warnseconds=$warninterval
done
fi