summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-25 03:59:43 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-25 03:59:43 +0000
commit07094e52e70792c9690149a8d742b38cbc25924f (patch)
treed92afc1951ae702aee00a194f8314723d57ed475 /session.c
parent824569537f874d754041f2c1b0898feda0c12f31 (diff)
- markus@cvs.openbsd.org 2001/06/21 21:08:25
[session.c] don't reset forced_command (we allow multiple login shells in ssh2); dwd@bell-labs.com
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/session.c b/session.c
index fbdc419eb..0c723ef1a 100644
--- a/session.c
+++ b/session.c
@@ -33,7 +33,7 @@
33 */ 33 */
34 34
35#include "includes.h" 35#include "includes.h"
36RCSID("$OpenBSD: session.c,v 1.92 2001/06/19 15:40:45 markus Exp $"); 36RCSID("$OpenBSD: session.c,v 1.93 2001/06/21 21:08:25 markus Exp $");
37 37
38#include "ssh.h" 38#include "ssh.h"
39#include "ssh1.h" 39#include "ssh1.h"
@@ -599,7 +599,6 @@ do_exec(Session *s, const char *command)
599 if (forced_command) { 599 if (forced_command) {
600 original_command = command; 600 original_command = command;
601 command = forced_command; 601 command = forced_command;
602 forced_command = NULL;
603 debug("Forced command '%.900s'", command); 602 debug("Forced command '%.900s'", command);
604 } 603 }
605 604