mirror of git://git.suckless.org/dwm
reviewed util.c
This commit is contained in:
parent
f17e898bd1
commit
4230932563
3
util.c
3
util.c
|
@ -47,7 +47,8 @@ spawn(Arg *arg) {
|
||||||
|
|
||||||
if(!arg->cmd)
|
if(!arg->cmd)
|
||||||
return;
|
return;
|
||||||
/* the double-fork construct avoids zombie processes */
|
/* The double-fork construct avoids zombie processes and keeps the code
|
||||||
|
* clean from stupid signal handlers. */
|
||||||
if(fork() == 0) {
|
if(fork() == 0) {
|
||||||
if(fork() == 0) {
|
if(fork() == 0) {
|
||||||
if(dpy)
|
if(dpy)
|
||||||
|
|
Loading…
Reference in New Issue