From 43dc8da75cf671fdae296667c1238f223145a528 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 29 Nov 2000 15:55:17 +1100 Subject: - (djm) Back out all the serverloop.c hacks. sshd will now hang again if there are background children with open fds. --- session.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'session.c') diff --git a/session.c b/session.c index b6c847b8f..a0020d426 100644 --- a/session.c +++ b/session.c @@ -1901,9 +1901,6 @@ session_exit_message(Session *s, int status) */ if (c->ostate != CHAN_OUTPUT_CLOSED) chan_write_failed(c); - if (c->istate != CHAN_INPUT_CLOSED) - c->istate = CHAN_INPUT_WAIT_DRAIN; - s->chanid = -1; } -- cgit v1.2.3