Skip to content
Snippets Groups Projects
Commit 392f3b2e authored by Zane Bitter's avatar Zane Bitter
Browse files

Handle SIGPIPE exit gracefully

If we are piping output to a command that exits before the entire
output is written (e.g. "head") then we will receive a BrokenPipeError.
This is expected and we should react by exiting gracefully, setting an
appropriate return code (128 + SIGPIPE).

Change-Id: I0d60e44450da1f48dbd8f459549da80fda69aad5
parent d562aae6
Branches wip/0.119
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment