Просмотр исходного кода

corrected variable name error

corrected a variable name error cause by quickly making changes when tired
TechNZ 9 лет назад
Родитель
Сommit
d46a0af894
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/command_start.sh

+ 1 - 1
lgsm/functions/command_start.sh

@@ -59,7 +59,7 @@ fn_start_tmux(){
 	
 	
 	# check for tmux size variables
 	# check for tmux size variables
 	if [[ "${servercfgtmuxwidth}" =~ ^[0-9]+$ ]]; then
 	if [[ "${servercfgtmuxwidth}" =~ ^[0-9]+$ ]]; then
-		sessionwidth="${servercfgwidth}"
+		sessionwidth="${servercfgtmuxwidth}"
 	else
 	else
 		sessionwidth="80"
 		sessionwidth="80"
 	fi
 	fi