mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
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)
|
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 a new issue