diff options
author | Damien Miller <djm@mindrot.org> | 2000-11-29 15:55:17 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-11-29 15:55:17 +1100 |
commit | 43dc8da75cf671fdae296667c1238f223145a528 (patch) | |
tree | 48a60a9945b80d2300fc0017b8dad511b7baced0 /session.c | |
parent | 6dbfef63559c7ac29aa7a3fe27a12d814fbd0e83 (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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 | ||