From a50b15a9e9663b1a7ee11d39ddf246427aecaeef Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 28 Aug 2006 08:17:27 +0200 Subject: added a comment to spawn --- util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util.c b/util.c index e19e3e97..91df00b1 100644 --- a/util.c +++ b/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) -- cgit v1.2.3