diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/command.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -5603,3 +5603,8 @@ Sun Oct 25 12:08:16 2009 Michael Jennings (mej) Fix some bad replacements. ---------------------------------------------------------------------- +Sun Oct 25 12:29:32 2009 Michael Jennings (mej) + +Re-enable SIGPIPE after fork() for child processes who might not +re-enable it on their own. +---------------------------------------------------------------------- diff --git a/src/command.c b/src/command.c index 0cbfbcd..05dca7c 100644 --- a/src/command.c +++ b/src/command.c @@ -2304,6 +2304,7 @@ run_command(char **argv) signal(SIGILL, SIG_DFL); signal(SIGSYS, SIG_DFL); signal(SIGALRM, SIG_DFL); + signal(SIGPIPE, SIG_DFL); #ifdef SIGTSTP signal(SIGTSTP, SIG_IGN); signal(SIGTTIN, SIG_IGN); |