Kaynağa Gözat

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

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
Christian 5 yıl önce
ebeveyn
işleme
4eb2c52fd4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lgsm/functions/core_steamcmd.sh

+ 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