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 b6c847b8f..a0020d426 100644
--- a/session.c
+++ b/session.c
@@ -1901,9 +1901,6 @@ session_exit_message(Session *s, int status)
1901 */ 1901 */
1902 if (c->ostate != CHAN_OUTPUT_CLOSED) 1902 if (c->ostate != CHAN_OUTPUT_CLOSED)
1903 chan_write_failed(c); 1903 chan_write_failed(c);
1904 if (c->istate != CHAN_INPUT_CLOSED)
1905 c->istate = CHAN_INPUT_WAIT_DRAIN;
1906
1907 s->chanid = -1; 1904 s->chanid = -1;
1908} 1905}
1909 1906