Fix interaction between update and start

This commit is contained in:
Ben Peddell 2016-08-30 14:41:02 +10:00
parent 05e8511e22
commit c0c56ab687

View File

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