Go back to ignoring SIGPIPE

We do not want to exit when a shell command closes stdin while we
are piping data to it.
This commit is contained in:
Maxime Coste 2015-05-28 13:57:22 +01:00
parent 98637c5219
commit 336df38237

View File

@ -545,7 +545,7 @@ int main(int argc, char* argv[])
signal(SIGFPE, signal_handler); signal(SIGFPE, signal_handler);
signal(SIGQUIT, signal_handler); signal(SIGQUIT, signal_handler);
signal(SIGTERM, signal_handler); signal(SIGTERM, signal_handler);
signal(SIGPIPE, signal_handler); signal(SIGPIPE, SIG_IGN);
Vector<String> params; Vector<String> params;
for (size_t i = 1; i < argc; ++i) for (size_t i = 1; i < argc; ++i)