summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index cc051432f..e3acbcc81 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.300 2004/07/28 08:56:22 markus Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.301 2004/08/11 11:50:09 dtucker Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -1577,7 +1577,8 @@ main(int ac, char **av)
1577 1577
1578 dup2(config_s[1], REEXEC_CONFIG_PASS_FD); 1578 dup2(config_s[1], REEXEC_CONFIG_PASS_FD);
1579 close(config_s[1]); 1579 close(config_s[1]);
1580 close(startup_pipe); 1580 if (startup_pipe != -1)
1581 close(startup_pipe);
1581 1582
1582 execv(rexec_argv[0], rexec_argv); 1583 execv(rexec_argv[0], rexec_argv);
1583 1584