1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/net/ntop/files/patch-ntop.c
Sylvio Cesar Teixeira b029d9e1f9 - Update to 4.0.1
Submitted by:	Jean-Baptiste Berlioz <tobe@gnagnaki.net> (via E-mail)
2011-02-11 13:34:49 +00:00

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