mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-14 11:48:26 +00:00
Actually displays seconds instead of spamming 1 minute
This commit is contained in:
parent
fee2e3040f
commit
e58ad46797
@ -649,8 +649,8 @@ doUpdateWarn(){
|
||||
echo "Server has stopped. Aborting update"
|
||||
return 1
|
||||
fi
|
||||
if [ -n "$msgWarnUpdateMinutes" ]; then
|
||||
warnmsg="$(printf "$msgWarnUpdateMinutes" "$warnminutes")"
|
||||
if [ -n "$msgWarnUpdateSeconds" ]; then
|
||||
warnmsg="$(printf "$msgWarnUpdateSeconds" "$warnmseconds")"
|
||||
else
|
||||
warnmsg="$(printf "This ARK server will shutdown for an update in %d seconds" "$warnseconds")"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user