added a comment to spawn 1.1
authorAnselm R. Garbe <arg@10kloc.org>
Mon, 28 Aug 2006 08:17:27 +0200
changeset 373 44a55e6e46bf
parent 372 a9b4077ec058
child 374 f2a4015fb14f
added a comment to spawn
util.c
--- a/util.c	Mon Aug 28 08:06:50 2006 +0200
+++ b/util.c	Mon Aug 28 08:17:27 2006 +0200
@@ -51,6 +51,7 @@
 
 	if(!arg->cmd)
 		return;
+	/* the double-fork construct avoids zombie processes */
 	if(fork() == 0) {
 		if(fork() == 0) {
 			if(dpy)