index
:
dwm
master
A build of dwm.
c+1
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
util.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index e19e3e9..91df00b 100644
--- 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)