summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
authoroga <oga>2008-12-03 23:55:46 +0000
committeroga <oga>2008-12-03 23:55:46 +0000
commitbe5dfb4ea448bd416500690788270bfed26a0b26 (patch)
tree6f65e95ccea6ea68ed64049ed57169012a6eb63b /calmwm.c
parenta0739c6cd4df1890751e2527c899756d7a49b6c5 (diff)
downloadcwm-be5dfb4ea448bd416500690788270bfed26a0b26.tar.gz
cwm-be5dfb4ea448bd416500690788270bfed26a0b26.tar.xz
cwm-be5dfb4ea448bd416500690788270bfed26a0b26.zip
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!
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c4
1 files changed, 0 insertions, 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");