$NetBSD: patch-ah,v 1.2 2003/05/23 07:19:44 seb Exp $ --- src/flow-capture.c.orig 2003-04-02 18:03:01.000000000 +0000 +++ src/flow-capture.c @@ -431,8 +431,9 @@ char **argv; exit (0); /* parent */ } - umask(0022); - setsid(); + /* umask(0022); */ + if (setsid() == -1) + fterr_err(1, "setsid()"); for (n = 0; n < 16; ++n) close (n);