opnsense-ports/net/ntop/files/patch-ntop.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 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