Fix "infinite" update warn

This commit is contained in:
Ben Peddell 2015-09-19 17:53:29 +10:00
parent 235972c57f
commit 5c69404551

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