Explorar o código

already stopped returned code 2

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

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