From cc700e69bd3f816b3f4b2f4381d273db40792c6e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 7 Jul 2016 21:36:59 +0100 Subject: [PATCH] already stopped returned code 2 --- 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 e8195f351..31e9781b4 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -242,7 +242,7 @@ fn_stop_pre_check(){ check_status.sh if [ "${status}" == "0" ]; then fn_print_ok_nl "${servername} is already stopped" - fn_script_log_pass "${servername} is already stopped" + fn_script_log_error "${servername} is already stopped" else fn_stop_teamspeak3 fi @@ -250,7 +250,7 @@ fn_stop_pre_check(){ check_status.sh if [ "${status}" == "0" ]; then fn_print_ok_nl "${servername} is already stopped" - fn_script_log_pass "${servername} is already stopped" + fn_script_log_error "${servername} is already stopped" else fn_stop_graceful_select fi