reviewed util.c
This commit is contained in:
1 parent
f17e898bd1
commit
4230932563
1 file changed
+2
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user