forked from mirror/dwm
added a comment to spawn
This commit is contained in:
parent
0a25fe9188
commit
a50b15a9e9
1 changed files with 1 additions and 0 deletions
1
util.c
1
util.c
|
@ -51,6 +51,7 @@ spawn(Arg *arg)
|
||||||
|
|
||||||
if(!arg->cmd)
|
if(!arg->cmd)
|
||||||
return;
|
return;
|
||||||
|
/* the double-fork construct avoids zombie processes */
|
||||||
if(fork() == 0) {
|
if(fork() == 0) {
|
||||||
if(fork() == 0) {
|
if(fork() == 0) {
|
||||||
if(dpy)
|
if(dpy)
|
||||||
|
|
Loading…
Reference in a new issue