diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-08-28 08:17:27 +0200 | 
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-08-28 08:17:27 +0200 | 
| commit | a50b15a9e9663b1a7ee11d39ddf246427aecaeef (patch) | |
| tree | aa7fcaf84ab7233d6101fb324ef459e6be2eb4e8 | |
| parent | 0a25fe91888f30a382ca0cfb492283ce9aa3296c (diff) | |
added a comment to spawn
| -rw-r--r-- | util.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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) | 
