From a576e0248a6d3e33bc4917b6a8097b84572748b7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 17 Mar 2018 00:52:10 +0000 Subject: [PATCH] SC2164 --- lgsm/functions/update_steamcmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/update_steamcmd.sh b/lgsm/functions/update_steamcmd.sh index fc9aa8cd4..1b0663df0 100644 --- a/lgsm/functions/update_steamcmd.sh +++ b/lgsm/functions/update_steamcmd.sh @@ -165,7 +165,7 @@ fn_update_steamcmd_check(){ fi # Gets availablebuild info - cd "${steamcmddir}" + cd "${steamcmddir}" || exit availablebuild=$(./steamcmd.sh +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +app_info_print "${appid}" +quit | sed -n '/branch/,$p' | grep -m 1 buildid | tr -cd '[:digit:]') if [ -z "${availablebuild}" ]; then fn_print_fail "Checking for update: SteamCMD"