diff options
author | Eric Wong <e@80x24.org> | 2019-12-26 10:47:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-26 10:47:42 +0000 |
commit | 3647997eaf49410bbf3e33bfb3874c611ab0c38b (patch) | |
tree | 9599e576f10534d59f468ca61f58eee2a4d9ce0a /t | |
parent | 200efc84f8acd59ae829655f281a125128c78b52 (diff) | |
download | public-inbox-3647997eaf49410bbf3e33bfb3874c611ab0c38b.tar.gz |
ProcessPipe::CLOSE won't reliably set $? inside the event loop if waitpid(..., WNOHANG) isn't successful. So use a blocking waitpid() call, here, and hope "git show-ref" exits promptly since we've already drained its stdout.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions