summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-11-29 15:55:17 +1100
committerDamien Miller <djm@mindrot.org>2000-11-29 15:55:17 +1100
commit43dc8da75cf671fdae296667c1238f223145a528 (patch)
tree48a60a9945b80d2300fc0017b8dad511b7baced0 /session.c
parent6dbfef63559c7ac29aa7a3fe27a12d814fbd0e83 (diff)
- (djm) Back out all the serverloop.c hacks. sshd will now hang again
if there are background children with open fds.
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/session.c b/session.c
index b6c847b8..a0020d42 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;
}