mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
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:
parent
a0739c6cd4
commit
be5dfb4ea4
4
calmwm.c
4
calmwm.c
@ -70,10 +70,6 @@ main(int argc, char **argv)
|
|||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
/* Ignore a few signals. */
|
|
||||||
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR)
|
|
||||||
err(1, "signal");
|
|
||||||
|
|
||||||
if (signal(SIGCHLD, _sigchld_cb) == SIG_ERR)
|
if (signal(SIGCHLD, _sigchld_cb) == SIG_ERR)
|
||||||
err(1, "signal");
|
err(1, "signal");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user