Skip to content

Commit c90c8fe

Browse files
committed
fix(send): will no longer ask to start the server #4621
1 parent 6271041 commit c90c8fe

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lgsm/modules/command_send.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@ if [ "${status}" != "0" ]; then
3030
tmux -L "${socketname}" send-keys -t "${sessionname}" "${commandtosend}" ENTER
3131
fn_script_log_pass "Command \"${commandtosend}\" sent to console"
3232
else
33-
fn_print_error_nl "Server not running"
34-
fn_script_log_error "Failed to access: Server not running"
35-
if fn_prompt_yn "Do you want to start the server?" Y; then
36-
exitbypass=1
37-
command_start.sh
38-
fi
33+
fn_print_error_nl "Unable to send command to console. Server not running"
34+
fn_script_log_error "Unable to send command to console. Server not running"
3935
fi
4036

4137
core_exit.sh

0 commit comments

Comments
 (0)