Skip to content

Commit

Permalink
fix: change exitcode to 0 if dependency install was successful
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 25, 2024
1 parent 108dd27 commit 5c31f33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lgsm/modules/check_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5c31f33

Please sign in to comment.