Procházet zdrojové kódy

already stopped returned code 2

Daniel Gibbs před 10 roky
rodič
revize
cc700e69bd
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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