reviewed util.c
This commit is contained in:
parent
f17e898bd1
commit
4230932563
1 changed files with 2 additions and 1 deletions
3
util.c
3
util.c
|
@ -47,7 +47,8 @@ spawn(Arg *arg) {
|
|||
|
||||
if(!arg->cmd)
|
||||
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(dpy)
|
||||
|
|
Loading…
Reference in a new issue