blob: 893a53e4efd920799ae6d9e1a93b40a4b598a20b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$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);
|