Identify why this hangs.

This commit is contained in:
Simon Gomizelj 2011-12-02 18:38:32 -05:00
commit f8da14421c

View file

@ -35,7 +35,8 @@ if (( $+commands[tmux] )); then
(( $+commands[$cmd] )) || return 127
# start the command
if ! tmux has -t $1 2>/dev/null; then
# if ! tmux has -t $1 2>/dev/null; then
if ! tmux has -t $1; then
TMUX= tmux new -ds $1 ${cmd-$2}
fi