Actually displays seconds instead of spamming 1 minute

This commit is contained in:
Marius Linge 2015-09-22 21:24:38 +02:00
parent fee2e3040f
commit e58ad46797

View File

@ -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