X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=util.c;h=91df00b17e6461d0fa7cda22f5c33e62bb253d2f;hp=e19e3e97103cfa3edb41c09327710d94e9235f91;hb=a50b15a9e9663b1a7ee11d39ddf246427aecaeef;hpb=0a25fe91888f30a382ca0cfb492283ce9aa3296c diff --git a/util.c b/util.c index e19e3e9..91df00b 100644 --- a/util.c +++ b/util.c @@ -51,6 +51,7 @@ spawn(Arg *arg) if(!arg->cmd) return; + /* the double-fork construct avoids zombie processes */ if(fork() == 0) { if(fork() == 0) { if(dpy)