aewl

diff util.c @ 373:44a55e6e46bf

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 diff
     1.1 --- a/util.c	Mon Aug 28 08:06:50 2006 +0200
     1.2 +++ b/util.c	Mon Aug 28 08:17:27 2006 +0200
     1.3 @@ -51,6 +51,7 @@
     1.4  
     1.5  	if(!arg->cmd)
     1.6  		return;
     1.7 +	/* the double-fork construct avoids zombie processes */
     1.8  	if(fork() == 0) {
     1.9  		if(fork() == 0) {
    1.10  			if(dpy)