$NetBSD: patch-ah,v 1.4 2005/07/21 12:54:03 seb Exp $ --- src/flow-capture.c.orig 2004-01-05 18:56:50.000000000 +0100 +++ src/flow-capture.c @@ -350,7 +350,7 @@ char **argv; ftv.set = 1; break; - case 'i': /* preserve inherited umask */ + case 'u': /* preserve inherited umask */ preserve_umask = 1; break; @@ -451,7 +451,8 @@ char **argv; if (!preserve_umask) umask(0022); - setsid(); + if (setsid() == -1) + fterr_err(1, "setsid()"); for (n = 0; n < 16; ++n) close (n);