From 325cc2d894fda740ca44dd0df980d60393f9874e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 May 2015 22:53:14 +0100 Subject: [PATCH] Ignore SIGPIPE --- src/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cc b/src/main.cc index fdc05ca06..6177227fd 100644 --- a/src/main.cc +++ b/src/main.cc @@ -541,6 +541,7 @@ int main(int argc, char* argv[]) signal(SIGFPE, signal_handler); signal(SIGQUIT, signal_handler); signal(SIGTERM, signal_handler); + signal(SIGPIPE, SIG_IGN); Vector params; for (size_t i = 1; i < argc; ++i)