From d69b8672c6990dd366413ee708fae3b2a6414a07 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 26 Oct 2015 16:57:30 +0000 Subject: [PATCH] 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. --- functions/fn_update_check | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/fn_update_check b/functions/fn_update_check index 4e6d1c788..1f501e95c 100644 --- a/functions/fn_update_check +++ b/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