From 5107b6ba14d7e2293dcf79bd0e2683382c2a6cc0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 13 Mar 2017 15:41:20 -0400 Subject: [PATCH] Fix tcons with newer tmux Newer tmux has meaning for ., use _ --- xCAT-client/bin/tcons | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/tcons b/xCAT-client/bin/tcons index cc0af755d..f345015df 100755 --- a/xCAT-client/bin/tcons +++ b/xCAT-client/bin/tcons @@ -5,7 +5,7 @@ for i in `nodels "$1"`; do if [ "$f" = 1 ]; then f=0 qdate=$((`date +%s`+5)) - tmux new-session -d -s tcons.$$ -x 800 -y 800 "rcons $i;if [ \`date +%s\` -lt $qdate ]; then echo Press enter to close; read qdate; fi" + tmux new-session -d -s tcons_$$ -x 800 -y 800 "rcons $i;if [ \`date +%s\` -lt $qdate ]; then echo Press enter to close; read qdate; fi" continue fi tmux select-pane -t $p @@ -15,4 +15,4 @@ for i in `nodels "$1"`; do tmux select-layout tiled done tmux select-pane -t 0 -tmux attach -t tcons.$$ +tmux attach -t tcons_$$