Browse Source

Update command_start.sh

Correct the width and height argument order for the tmux session.
Nathan 8 years ago
parent
commit
65d9229ee9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lgsm/functions/command_start.sh

+ 1 - 1
lgsm/functions/command_start.sh

@@ -98,7 +98,7 @@ fn_start_tmux(){
 	# Create lockfile
 	date > "${rootdir}/${lockselfname}"
 	cd "${executabledir}"
-	tmux new-session -d -x "${sessionheight}" -y "${sessionwidth}" -s "${servicename}" "${executable} ${parms}" 2> "${lgsmlogdir}/.${servicename}-tmux-error.tmp"
+	tmux new-session -d -x "${sessionwidth}" -y "${sessionheight}" -s "${servicename}" "${executable} ${parms}" 2> "${lgsmlogdir}/.${servicename}-tmux-error.tmp"
 
 	# Create logfile
 	touch "${consolelog}"