summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-03-24 15:39:38 +1100
committerDamien Miller <djm@mindrot.org>2001-03-24 15:39:38 +1100
commitb44fe0617d747c9dbf3cb074661639dccad5a3f0 (patch)
treed38fbc281e07c67b1b73f8c0228ceff1ec10478a /serverloop.c
parentde71cda07824ec31b5ad2965879fab123d743708 (diff)
- (djm) Pull out our own SIGPIPE hacks
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index 66bc5257..d1290ff2 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -420,7 +420,6 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg)
child_pid = pid;
child_terminated = 0;
signal(SIGCHLD, sigchld_handler);
- signal(SIGPIPE, SIG_IGN);
/* Initialize our global variables. */
fdin = fdin_arg;
@@ -655,7 +654,6 @@ server_loop2(void)
debug("Entering interactive session for SSH2.");
mysignal(SIGCHLD, sigchld_handler2);
- signal(SIGPIPE, SIG_IGN);
child_terminated = 0;
connection_in = packet_get_connection_in();
connection_out = packet_get_connection_out();