summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-09-14 18:59:12 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-09-14 18:59:12 +0000
commitadf3cd249c0830c34a41bf50a39dfd53b0b1cff1 (patch)
tree68f1c3a25c0e00159585fb0a5d27dc1ba8cc88de
parente602305b23d348f3e58300cd61ff8aef909aacd9 (diff)
command=xxx overwrites subsystems, too
-rw-r--r--usr.bin/ssh/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index 1883c1f3d37..f810d594214 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -33,7 +33,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.100 2001/08/16 19:18:34 jakob Exp $");
+RCSID("$OpenBSD: session.c,v 1.101 2001/09/14 18:59:11 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1310,7 +1310,7 @@ session_subsystem_req(Session *s)
if(strcmp(subsys, options.subsystem_name[i]) == 0) {
debug("subsystem: exec() %s", options.subsystem_command[i]);
s->is_subsystem = 1;
- do_exec_no_pty(s, options.subsystem_command[i]);
+ do_exec(s, options.subsystem_command[i]);
success = 1;
}
}