summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog9
-rw-r--r--session.c3
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6c289efaf..e9e9a9cc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
120010525
2 - OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/06/21 21:08:25
4 [session.c]
5 don't reset forced_command (we allow multiple login shells in
6 ssh2); dwd@bell-labs.com
7
120010622 820010622
2 - (stevesk) handle systems without pw_expire and pw_change. 9 - (stevesk) handle systems without pw_expire and pw_change.
3 10
@@ -5681,4 +5688,4 @@
5681 - Wrote replacements for strlcpy and mkdtemp 5688 - Wrote replacements for strlcpy and mkdtemp
5682 - Released 1.0pre1 5689 - Released 1.0pre1
5683 5690
5684$Id: ChangeLog,v 1.1297 2001/06/22 21:14:18 stevesk Exp $ 5691$Id: ChangeLog,v 1.1298 2001/06/25 03:59:43 mouring Exp $
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