Parcourir la source

fix(send): will no longer ask to start the server #4621

Daniel Gibbs il y a 11 mois
Parent
commit
c90c8fefb6
1 fichiers modifiés avec 2 ajouts et 6 suppressions
  1. 2 6
      lgsm/modules/command_send.sh

+ 2 - 6
lgsm/modules/command_send.sh

@@ -30,12 +30,8 @@ if [ "${status}" != "0" ]; then
 	tmux -L "${socketname}" send-keys -t "${sessionname}" "${commandtosend}" ENTER
 	fn_script_log_pass "Command \"${commandtosend}\" sent to console"
 else
-	fn_print_error_nl "Server not running"
-	fn_script_log_error "Failed to access: Server not running"
-	if fn_prompt_yn "Do you want to start the server?" Y; then
-		exitbypass=1
-		command_start.sh
-	fi
+	fn_print_error_nl "Unable to send command to console. Server not running"
+	fn_script_log_error "Unable to send command to console. Server not running"
 fi
 
 core_exit.sh