commit | e7751aa4094d51a9bc00778aa8d07e22934c55ee | [log] [tgz] |
---|---|---|
author | bluhm@openbsd.org <bluhm@openbsd.org> | Thu Apr 26 14:47:03 2018 +0000 |
committer | Damien Miller <djm@mindrot.org> | Fri May 11 13:10:49 2018 +1000 |
tree | e16bc42496fed77e01e0ae6463e7f67ab70beedf | |
parent | 7c15301841e2e9d37cae732400de63ae9c0961d6 [diff] |
upstream: Since the previous commit, ssh regress test sftp-chroot was failing. The sftp program terminated with the wrong exit code as sftp called fatal() instad of exit(0). So when the sigchld handler waits for the child, remember that it was found. Then don't expect that main() can wait again. OK dtucker@ OpenBSD-Commit-ID: bfafd940c0de5297940c71ddf362053db0232266