# HG changeset patch # User Anselm R. Garbe # Date 1156745847 -7200 # Node ID 44a55e6e46bf6c231780b09d919977d6f01083de # Parent a9b4077ec058a6afbc95794635edf6be5dc0db7f added a comment to spawn diff -r a9b4077ec058 -r 44a55e6e46bf util.c --- 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)