diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.177 2001/03/23 11:04:07 djm Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.178 2001/03/23 14:28:32 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -809,6 +809,9 @@ main(int ac, char **av) | |||
809 | /* Chdir to the root directory so that the current disk can be | 809 | /* Chdir to the root directory so that the current disk can be |
810 | unmounted if desired. */ | 810 | unmounted if desired. */ |
811 | chdir("/"); | 811 | chdir("/"); |
812 | |||
813 | /* ignore SIGPIPE */ | ||
814 | signal(SIGPIPE, SIG_IGN); | ||
812 | 815 | ||
813 | /* Start listening for a socket, unless started from inetd. */ | 816 | /* Start listening for a socket, unless started from inetd. */ |
814 | if (inetd_flag) { | 817 | if (inetd_flag) { |