mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 19:28:28 +00:00
Fix interaction between update and start
This commit is contained in:
parent
05e8511e22
commit
c0c56ab687
@ -1172,6 +1172,7 @@ doUpdate() {
|
||||
done
|
||||
fi
|
||||
|
||||
rm -f "${arkserverroot}/.ark-update.lock"
|
||||
# we restart the server only if it was started before the update
|
||||
if [ $serverWasAlive -eq 1 ] || [ -f "${arkserverroot}/.startAfterUpdate" ]; then
|
||||
rm -f "${arkserverroot}/.startAfterUpdate"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user