Explorar o código

-t= won't work with some tmux versions

UltimateByte %!s(int64=8) %!d(string=hai) anos
pai
achega
5e1dcdab17
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_stop.sh

+ 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