From 32de1d52eab6bc27a52e3a96db0b8d36a598a609 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Tue, 15 Feb 2011 15:25:48 +0000 Subject: [PATCH] Sync OpenBSD patchset 861: Don't require -d with -x or -y since it could be in the config file. --- cmd-new-session.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd-new-session.c b/cmd-new-session.c index ed4972e9..b1d851a4 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c @@ -1,4 +1,4 @@ -/* $Id: cmd-new-session.c,v 1.83 2011-01-21 23:55:26 tcunha Exp $ */ +/* $Id: cmd-new-session.c,v 1.84 2011-02-15 15:25:48 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -49,9 +49,6 @@ cmd_new_session_check(struct args *args) { if (args_has(args, 't') && (args->argc != 0 || args_has(args, 'n'))) return (-1); - if (!args_has(args, 'd') && - (args_has(args, 'x') || args_has(args, 'y'))) - return (-1); return (0); }