From 4e7bd4436493dca8413f0acc8d178ef397d88221 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Sun, 5 Jun 2016 12:41:33 +0200 Subject: [PATCH] Fixed lock file removal for source servers fn_stop_graceful_source() didn't call fn_stop_tmux() or ' rm -f "${rootdir}/${lockselfname}" '. That's why monitoring restarted the server when it was shutdown gratefully. --- lgsm/functions/command_stop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index a5d18c7f6..0d2684d0b 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -2,7 +2,7 @@ # LGSM command_stop.sh function # Author: Daniel Gibbs # Website: https://gameservermanagers.com -lgsm_version="210516" +lgsm_version="050616" # Description: Stops the server. @@ -32,9 +32,9 @@ fn_stop_graceful_source(){ fn_print_fail "Graceful: rcon quit: " fn_print_fail_eol_nl fn_scriptlog "Graceful: rcon quit: FAIL" - fn_stop_tmux fi sleep 1 + fn_stop_tmux } # Attempts Graceful of goldsource using rcon 'quit' command.