Browse Source

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

develop
Daniel Gibbs 2 weeks ago
parent
commit
c90c8fefb6
  1. 8
      lgsm/modules/command_send.sh

8
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

Loading…
Cancel
Save