Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
ach ich will auch Alt-s
[dwm.git]
/
util.c
diff --git
a/util.c
b/util.c
index
e19e3e9
..
91df00b
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-51,6
+51,7
@@
spawn(Arg *arg)
if(!arg->cmd)
return;
+ /* the double-fork construct avoids zombie processes */
if(fork() == 0) {
if(fork() == 0) {
if(dpy)