summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2000-07-18 01:25:02 +0000
committerDamien Miller <djm@cvs.openbsd.org>2000-07-18 01:25:02 +0000
commitc6f0be086baef88b0f7468911275c1f4efc36aaf (patch)
treeae7851202657ba04da9f765d6e7b2342085cfc89 /usr.bin/ssh
parent82f1b83f9b27fa2ae0f6cbd67a15b22fc96f87fb (diff)
Another closing of stdin; ok deraadt
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index 8db21977199..66e821f2835 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.122 2000/07/11 08:11:34 deraadt Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.123 2000/07/18 01:25:01 djm Exp $");
#include "xmalloc.h"
#include "rsa.h"
@@ -634,6 +634,7 @@ main(int ac, char **av)
s2 = dup(s1);
sock_in = dup(0);
sock_out = dup(1);
+ startup_pipe = -1;
/*
* We intentionally do not close the descriptors 0, 1, and 2
* as our code for setting the descriptors won\'t work if