ignore SIGPIPE so error propagates

This commit is contained in:
Jethro Grassie 2020-02-06 17:10:09 -05:00
parent 0846228da6
commit 834bef7008
No known key found for this signature in database
GPG Key ID: DE8ED755616565BB
1 changed files with 1 additions and 0 deletions

View File

@ -3179,6 +3179,7 @@ int main(int argc, char **argv)
}
signal(SIGINT, sigint_handler);
signal(SIGPIPE, SIG_IGN);
atexit(cleanup);
int err = 0;