diff util.c @ 373:44a55e6e46bf 1.1

added a comment to spawn
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 28 Aug 2006 08:17:27 +0200
parents 06438e022f9a
children 9d23330a5268
line wrap: on
line diff
--- 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)