Skip to content

Commit

Permalink
Fail silently on a broken pipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Feb 6, 2021
1 parent be56dba commit 04cb4f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pigz.c
Expand Up @@ -914,7 +914,8 @@ local void cut_short(int sig) {
// Common code for catch block of top routine in the thread.
#define THREADABORT(ball) \
do { \
complain("abort: %s", (ball).why); \
if ((ball).code != EPIPE) \
complain("abort: %s", (ball).why); \
drop(ball); \
cut_short(-(ball).code); \
} while (0)
Expand Down

0 comments on commit 04cb4f3

Please sign in to comment.