Browse Source

Merge branch 'hotfix/console-180415'

pull/1902/head 180709.6
UltimateByte 7 years ago
parent
commit
0bd1a5b5d1
  1. 2
      lgsm/functions/command_console.sh
  2. 2
      lgsm/functions/command_stop.sh

2
lgsm/functions/command_console.sh

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

2
lgsm/functions/command_stop.sh

@ -263,7 +263,7 @@ fn_stop_tmux(){
fn_script_log_info "tmux kill-session: ${servername}"
sleep 0.5
# Kill tmux session
tmux kill-session -t="${servicename}" > /dev/null 2>&1
tmux kill-session -t "${servicename}" > /dev/null 2>&1
sleep 0.5
check_status.sh
if [ "${status}" == "0" ]; then

Loading…
Cancel
Save