On Wed, 23 Nov 2016 12:38:11 +0100, Marc Espie wrote: > Thinking some more, I'm pretty sure this should also be fixed at the shell > level. > > I see nothing in POSIX that says the shell ought to provide non default > handlers for these signals through, as opposed to make(1) which has a full > paragraph devoted to possibly ignoring signals.
As far as I can tell, shells don't typically reset SIGPIPE to SIG_DFL, they preserve the value the shell was started with. - todd