4
0
Эх сурвалжийг харах

fix(steamcmd): fix update on start not starting the server (#3169)

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
Christian 5 жил өмнө
parent
commit
4eb2c52fd4

+ 1 - 1
lgsm/functions/core_steamcmd.sh

@@ -238,8 +238,8 @@ fn_update_steamcmd_compare(){
 				exitbypass=1
 				command_start.sh
 				fn_firstcommand_reset
+				unset exitbypass
 			fi
-			unset exitbypass
 			date +%s > "${lockdir}/lastupdate.lock"
 			alert="update"
 		elif [ "${commandname}" == "CHECK-UPDATE" ]; then