Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
eb303423f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_stop.sh

+ 1 - 1
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