summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 1147133..c31d7f9 100644
--- a/util.c
+++ b/util.c
@@ -47,7 +47,8 @@ spawn(Arg *arg) {
47 47
48 if(!arg->cmd) 48 if(!arg->cmd)
49 return; 49 return;
50 /* the double-fork construct avoids zombie processes */ 50 /* The double-fork construct avoids zombie processes and keeps the code
51 * clean from stupid signal handlers. */
51 if(fork() == 0) { 52 if(fork() == 0) {
52 if(fork() == 0) { 53 if(fork() == 0) {
53 if(dpy) 54 if(dpy)