mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-17 06:16:55 +00:00
- 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
This commit is contained in:
parent
824569537f
commit
07094e52e7
@ -1,3 +1,10 @@
|
|||||||
|
20010525
|
||||||
|
- OpenBSD CVS Sync
|
||||||
|
- 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
|
||||||
|
|
||||||
20010622
|
20010622
|
||||||
- (stevesk) handle systems without pw_expire and pw_change.
|
- (stevesk) handle systems without pw_expire and pw_change.
|
||||||
|
|
||||||
@ -5681,4 +5688,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1297 2001/06/22 21:14:18 stevesk Exp $
|
$Id: ChangeLog,v 1.1298 2001/06/25 03:59:43 mouring Exp $
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: session.c,v 1.92 2001/06/19 15:40:45 markus Exp $");
|
RCSID("$OpenBSD: session.c,v 1.93 2001/06/21 21:08:25 markus Exp $");
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
@ -599,7 +599,6 @@ do_exec(Session *s, const char *command)
|
|||||||
if (forced_command) {
|
if (forced_command) {
|
||||||
original_command = command;
|
original_command = command;
|
||||||
command = forced_command;
|
command = forced_command;
|
||||||
forced_command = NULL;
|
|
||||||
debug("Forced command '%.900s'", command);
|
debug("Forced command '%.900s'", command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user