Browse Source

Properly attach tmux session

pull/1878/head
UltimateByte 7 years ago
committed by GitHub
parent
commit
c64d1dac74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/functions/command_console.sh

2
lgsm/functions/command_console.sh

@ -30,7 +30,7 @@ if [ "${status}" != "0" ]; then
fn_print_ok_nl "Accessing console" fn_print_ok_nl "Accessing console"
fn_script_log_pass "Console accessed" fn_script_log_pass "Console accessed"
sleep 0.5 sleep 0.5
tmux attach-session -t="${servicename}" tmux attach-session -t "${servicename}"
fn_print_ok_nl "Closing console" fn_print_ok_nl "Closing console"
fn_script_log_pass "Console closed" fn_script_log_pass "Console closed"
else else

Loading…
Cancel
Save