Sfoglia il codice sorgente

Merge branch 'hotfix/console-180415' into develop

UltimateByte 8 anni fa
parent
commit
cddf624f74
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      lgsm/functions/command_console.sh
  2. 1 1
      lgsm/functions/command_stop.sh

+ 1 - 1
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

+ 1 - 1
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