소스 검색

Added exit to stop SteamCMD update check

If an update is picked up in the console log it will run the update but
not use SteamCMD to check for updates.
Daniel Gibbs 10 년 전
부모
커밋
d69b8672c6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      functions/fn_update_check

+ 2 - 1
functions/fn_update_check

@@ -2,7 +2,7 @@
 # LGSM fn_update_check function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 030615
+# Version: 261015
 
 # Description: Checks if a server update is available.
 
@@ -95,6 +95,7 @@ if [ "${requestrestart}" -ge "1" ]; then
 	else
 		fn_update_dl
 	fi
+	exit
 else
 	fn_printok "Checking for update: Server logs: No update requested"
 	sleep 1