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" echo "Server has stopped. Aborting update"
return 1 return 1
fi fi
if [ -n "$msgWarnUpdateMinutes" ]; then if [ -n "$msgWarnUpdateSeconds" ]; then
warnmsg="$(printf "$msgWarnUpdateMinutes" "$warnminutes")" warnmsg="$(printf "$msgWarnUpdateSeconds" "$warnmseconds")"
else else
warnmsg="$(printf "This ARK server will shutdown for an update in %d seconds" "$warnseconds")" warnmsg="$(printf "This ARK server will shutdown for an update in %d seconds" "$warnseconds")"
fi fi