Return to cmd-attach-session.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.4, 2009/07/17 15:03:11 | version 1.5, 2009/07/23 12:33:48 | ||
---|---|---|---|
|
|
||
if ((s = cmd_find_session(ctx, data->target)) == NULL) | if ((s = cmd_find_session(ctx, data->target)) == NULL) | ||
return (-1); | return (-1); | ||
if (ctx->cmdclient == NULL && ctx->curclient == NULL) | |||
return (0); | |||
if (ctx->cmdclient == NULL) { | if (ctx->cmdclient == NULL) { | ||
if (data->chflags & CMD_CHFLAG('d')) { | if (data->chflags & CMD_CHFLAG('d')) { | ||
/* | /* |