mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-11 18:48:26 +00:00
Fix potential missed steam login failure
This commit is contained in:
parent
3e5a152ff4
commit
312603597a
@ -2124,11 +2124,12 @@ doUpdate() {
|
||||
doDownloadSteamCMD
|
||||
cd "$steamcmdroot"
|
||||
runSteamCMDAppUpdate "$arkStagingDir" ${appbeta:+-beta} $appbeta ${appbetapass:+-betapassword} $appbetapass $validate
|
||||
result=$?
|
||||
|
||||
# shellcheck disable=SC2181
|
||||
if [ $? -eq 0 ]; then
|
||||
if [ $result -eq 0 ]; then
|
||||
rm -rf "${arkStagingDir}/steamapps/downloading/${appid}"
|
||||
elif [ $? -eq 5 ]; then
|
||||
elif [ $result -eq 5 ]; then
|
||||
echo "User ${steamlogin:-anonymous} login failed - please login to steamcmd manually"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user