Explorar el Código

added a comment to spawn

Anselm R. Garbe hace 19 años
padre
commit
a50b15a9e9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      util.c

+ 1 - 0
util.c

@@ -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)