$NetBSD: patch-aj,v 1.2 2003/05/23 07:19:44 seb Exp $
--- src/flow-fanout.c.orig 2003-04-04 02:24:40.000000000 +0000
+++ src/flow-fanout.c
@@ -287,8 +287,9 @@ int main(int argc, char **argv)
}
chdir ("/");
- umask(0022);
- setsid();
+ /* umask(0022); */
+ if (setsid() == -1)
+ fterr_err(1, "setsid()");
for (n = 0; n < 16; ++n) /* XXX dynamically get NOFILE */
close (n);