Procházet zdrojové kódy

fix: change exitcode to 0 if dependency install was successful

Daniel Gibbs před 1 rokem
rodič
revize
5c31f33446
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lgsm/modules/check_deps.sh

+ 2 - 1
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