pv-adverb: Exit 255 if we somehow lose the main process
If waiting for child processes fails with ECHILD, that would signify
that our main process was somehow reparented away, or was reaped by
another thread. This shouldn't happen, but if it does, it makes sense
to report it as equivalent to exiting with an unknown status, instead
of the current EX_UNAVAILABLE.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
f3eaff4a
No related branches found
No related tags found
Please register or sign in to comment