Oops, no $SESSION now.

This commit is contained in:
Nicholas Marriott 2007-11-17 08:29:33 +00:00
parent 60501ec040
commit 1717764134

View File

@ -6,7 +6,7 @@ SOCKET=/tmp/tmux-1000-main
TMUX="tmux -S $SOCKET" TMUX="tmux -S $SOCKET"
if ! $TMUX -s $SESSION has 2>/dev/null; then if ! $TMUX -s0 has 2>/dev/null; then
# Session 0 # Session 0
$TMUX new -d -s0 -nyelena 'exec ssh yelena' # 0 $TMUX new -d -s0 -nyelena 'exec ssh yelena' # 0