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

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;