Skip to content

Commit 5c31f33

Browse files
committed
fix: change exitcode to 0 if dependency install was successful
1 parent 108dd27 commit 5c31f33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lgsm/modules/check_deps.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,10 @@ fn_install_missing_deps() {
195195
fi
196196
autodepinstall="$?"
197197

198-
# If auto install passes remove steamcmd install failure.
198+
# If auto install passes, remove steamcmd install failure and set exit code to 0.
199199
if [ "${autodepinstall}" == "0" ]; then
200200
unset steamcmdfail
201+
exitcode=0
201202
fi
202203
fi
203204

0 commit comments

Comments
 (0)