From be5dfb4ea448bd416500690788270bfed26a0b26 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 3 Dec 2008 23:55:46 +0000 Subject: [PATCH] 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! --- calmwm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/calmwm.c b/calmwm.c index 446ed17..e8cf5d7 100644 --- a/calmwm.c +++ b/calmwm.c @@ -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");