diff --git a/lgsm/modules/check_deps.sh b/lgsm/modules/check_deps.sh index ea4e82b81..d7df071d3 100644 --- a/lgsm/modules/check_deps.sh +++ b/lgsm/modules/check_deps.sh @@ -195,9 +195,10 @@ fn_install_missing_deps() { fi autodepinstall="$?" - # If auto install passes remove steamcmd install failure. + # If auto install passes, remove steamcmd install failure and set exit code to 0. if [ "${autodepinstall}" == "0" ]; then unset steamcmdfail + exitcode=0 fi fi