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:
parent
98637c5219
commit
336df38237
|
@ -545,7 +545,7 @@ int main(int argc, char* argv[])
|
|||
signal(SIGFPE, signal_handler);
|
||||
signal(SIGQUIT, signal_handler);
|
||||
signal(SIGTERM, signal_handler);
|
||||
signal(SIGPIPE, signal_handler);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
Vector<String> params;
|
||||
for (size_t i = 1; i < argc; ++i)
|
||||
|
|
Loading…
Reference in New Issue
Block a user