Explorar o código

fixed error with '-s' flag

'-s' flag had an extra '-'
TechNZ %!s(int64=9) %!d(string=hai) anos
pai
achega
d7f1acee6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_start.sh

+ 1 - 1
lgsm/functions/command_start.sh

@@ -95,7 +95,7 @@ fn_start_tmux(){
 	# Create lockfile
 	date > "${rootdir}/${lockselfname}"
 	cd "${executabledir}"
-	tmux new-session -d -x ${tmux-x} -y ${tmux-y} --s "${servicename}" "${executable} ${parms}" 2> "${scriptlogdir}/.${servicename}-tmux-error.tmp"
+	tmux new-session -d -x ${tmux-x} -y ${tmux-y} -s "${servicename}" "${executable} ${parms}" 2> "${scriptlogdir}/.${servicename}-tmux-error.tmp"
 
 	# tmux pipe-pane not supported in tmux versions < 1.6
 	if [ "$(tmux -V|sed "s/tmux //"|sed -n '1 p'|tr -cd '[:digit:]')" -lt "16" ]; then