From eb303423f1c0cfe7684dd90b36aacbc193cc03a9 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 22 May 2016 00:21:23 +0100 Subject: [PATCH] corrected if --- lgsm/functions/command_stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_stop.sh b/lgsm/functions/command_stop.sh index 7878c5362..89769d492 100644 --- a/lgsm/functions/command_stop.sh +++ b/lgsm/functions/command_stop.sh @@ -207,7 +207,7 @@ fn_stop_pre_check(){ fi else check_status.sh - if [ "${status}" != "0" ]; then + if [ "${status}" == "0" ]; then fn_print_ok_nl "${servername} is already stopped" fn_scriptlog "${servername} is already stopped" else