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