mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-21 06:18:28 +00:00
Save world before update
Not using isTheServerUp, as doSaveWorld should return immediately if the server is not up.
This commit is contained in:
parent
85325f2169
commit
38d9b4e977
@ -420,6 +420,8 @@ forceUpdate(){
|
|||||||
if isTheServerRunning ;then
|
if isTheServerRunning ;then
|
||||||
serverWasAlive=1
|
serverWasAlive=1
|
||||||
fi
|
fi
|
||||||
|
echo "Saving world"
|
||||||
|
doSaveWorld
|
||||||
doStop
|
doStop
|
||||||
cd "$steamcmdroot"
|
cd "$steamcmdroot"
|
||||||
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid +quit
|
./$steamcmdexec +login anonymous +force_install_dir "$arkserverroot" +app_update $appid +quit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user