Daniel Gibbs 8 lat temu
rodzic
commit
1077ab2abf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lgsm/functions/update_steamcmd.sh

+ 1 - 1
lgsm/functions/update_steamcmd.sh

@@ -17,7 +17,7 @@ fn_update_steamcmd_dl(){
 	fn_print_ok_nl "SteamCMD"
 	fn_print_ok_nl "SteamCMD"
 	fn_script_log_info "Starting SteamCMD"
 	fn_script_log_info "Starting SteamCMD"
 
 
-	cd "${steamcmddir}"
+	cd "${steamcmddir}" || exit
 
 
 	# Detects if unbuffer command is available for 32 bit distributions only.
 	# Detects if unbuffer command is available for 32 bit distributions only.
 	info_distro.sh
 	info_distro.sh