aboutsummaryrefslogtreecommitdiff
path: root/net/rinetd/files/patch-rinetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rinetd/files/patch-rinetd.c')
-rw-r--r--net/rinetd/files/patch-rinetd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/rinetd/files/patch-rinetd.c b/net/rinetd/files/patch-rinetd.c
new file mode 100644
index 000000000000..c7797d5978ce
--- /dev/null
+++ b/net/rinetd/files/patch-rinetd.c
@@ -0,0 +1,10 @@
+--- rinetd.c.orig Thu Jul 19 22:19:59 2001
++++ rinetd.c Thu Jul 19 22:20:26 2001
+@@ -243,6 +243,7 @@
+ signal(SIGHUP, hup);
+ #endif /* WIN32 */
+ signal(SIGTERM, term);
++ setsid();
+ initArrays();
+ readConfiguration();
+ RegisterPID();