Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
0a25fe9
)
added a comment to spawn
author
Anselm R. Garbe <
[email protected]
>
Mon, 28 Aug 2006 06:17:27 +0000
(08:17 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Mon, 28 Aug 2006 06:17:27 +0000
(08:17 +0200)
util.c
diff
|
blob
|
history
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)