diff options
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r-- | cmd-new-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c index e5756d0d..acb8f3a2 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-new-session.c,v 1.40 2009-04-01 18:21:24 nicm Exp $ */ +/* $Id: cmd-new-session.c,v 1.41 2009-05-04 17:58:26 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -118,7 +118,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx) if (ctx->curclient != NULL) return (0); - + if (!data->flag_detached) { if (c == NULL) { ctx->error(ctx, "no client to attach to"); |