From c2cf00f74679e03ed610006b20ea0cc6a2316dd3 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 2 Mar 2016 21:49:20 +0000 Subject: [PATCH] added tmux_stop --- functions/command_stop.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/command_stop.sh b/functions/command_stop.sh index a91bed79d..a127ebc4b 100644 --- a/functions/command_stop.sh +++ b/functions/command_stop.sh @@ -29,6 +29,7 @@ done if [ "${pid}" != "0" ]; then fn_print_fail_nl "Graceful: rcon quit" fn_scriptlog "Graceful: rcon quit: FAIL" + fn_stop_tmux fi sleep 1 } @@ -49,6 +50,7 @@ for seconds in {1..3}; do done fn_print_ok_nl "Graceful: rcon quit: ${seconds}" sleep 1 +fn_stop_tmux } # Attempts Graceful of 7 Days To Die using telnet.