changeset 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 a9b4077ec058
children f2a4015fb14f
files util.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)