Don't ignore sigpipe. Everytime cwm forks it execs anyway (so it

shouldn't get that signal), and this causes problems for our children
since they inherit the ignore.

Pointed out by Jacek Masiulani in pr 6010; thanks!
This commit is contained in:
oga 2008-12-03 23:55:46 +00:00
parent a0739c6cd4
commit be5dfb4ea4

View File

@ -70,10 +70,6 @@ main(int argc, char **argv)
argc -= optind;
argv += optind;
/* Ignore a few signals. */
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR)
err(1, "signal");
if (signal(SIGCHLD, _sigchld_cb) == SIG_ERR)
err(1, "signal");