$NetBSD: patch-ah,v 1.3 2004/04/22 15:33:35 seb Exp $
--- src/flow-capture.c.orig 2003-11-29 06:43:08.000000000 +0000
+++ src/flow-capture.c
@@ -439,7 +439,8 @@ char **argv;
if (!preserve_umask)
umask(0022);
- setsid();
+ if (setsid() == -1)
+ fterr_err(1, "setsid()");
for (n = 0; n < 16; ++n)
close (n);