Mercurial > dropbear
diff svr-chansession.c @ 956:46a0b2ebc22c coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 28 Jul 2014 23:38:54 +0800 |
parents | 36eacc322e00 |
children | 0bb16232e7c4 |
line wrap: on
line diff
--- a/svr-chansession.c Mon Jul 28 22:56:07 2014 +0800 +++ b/svr-chansession.c Mon Jul 28 23:38:54 2014 +0800 @@ -89,6 +89,9 @@ const int saved_errno = errno; + /* Make channel handling code look for closed channels */ + ses.channel_signal_pending = 1; + TRACE(("enter sigchld handler")) while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { TRACE(("sigchld handler: pid %d", pid))