mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
b029d9e1f9
Submitted by: Jean-Baptiste Berlioz <tobe@gnagnaki.net> (via E-mail)
12 lines
341 B
C
12 lines
341 B
C
--- ./ntop.c.orig 2011-02-02 10:23:03.000000000 +0100
|
|
+++ ./ntop.c 2011-02-02 10:24:12.000000000 +0100
|
|
@@ -187,7 +187,7 @@
|
|
#endif
|
|
signal(SIGQUIT, SIG_IGN);
|
|
|
|
- if((childpid=fork()) < 0)
|
|
+ if((childpid=rfork(RFPROC)) < 0)
|
|
traceEvent(CONST_TRACE_ERROR, "INIT: Occurred while daemonizing (errno=%d)", errno);
|
|
else {
|
|
#ifdef DEBUG
|