Browse Source

Merge branch 'hotfix/console-180415' into develop

pull/1915/head
UltimateByte 7 years ago
parent
commit
cddf624f74
  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_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

2
lgsm/functions/command_stop.sh

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

Loading…
Cancel
Save