]> git.armaanb.net Git - dwm.git/commitdiff
added a comment to spawn
authorAnselm R. Garbe <arg@10kloc.org>
Mon, 28 Aug 2006 06:17:27 +0000 (08:17 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Mon, 28 Aug 2006 06:17:27 +0000 (08:17 +0200)
util.c

diff --git a/util.c b/util.c
index e19e3e97103cfa3edb41c09327710d94e9235f91..91df00b17e6461d0fa7cda22f5c33e62bb253d2f 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)