split: return success even if a --filter exits
authorPádraig Brady <P@draigBrady.com>
Thu, 19 May 2011 22:23:23 +0000 (23:23 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 25 May 2011 23:10:32 +0000 (00:10 +0100)
commit5908e29e825286121c69f5c10c313ccae6860fa7
tree27612890659fa217afe24a0ffd314d93308852ef
parentd92849fe5a9c8a24203f70b02806737666cb980b
split: return success even if a --filter exits

src/split.c (main): Don't unblock SIGPIPE before cleanup,
as then any pending signals will be sent and cause
the main split process to exit with a non zero status (141).
* test/split/filter: Add a test for this case.
src/split.c
tests/split/filter