summaryrefslogtreecommitdiff
path: root/net/miredo/files/patch-src-relayd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/miredo/files/patch-src-relayd.c')
-rw-r--r--net/miredo/files/patch-src-relayd.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/miredo/files/patch-src-relayd.c b/net/miredo/files/patch-src-relayd.c
new file mode 100644
index 000000000000..8b582ce3808d
--- /dev/null
+++ b/net/miredo/files/patch-src-relayd.c
@@ -0,0 +1,18 @@
+--- src/privproc.c
++++ src/privproc.c
+@@ -122,7 +122,6 @@ miredo_privileged_process (unsigned ifindex,
+ return -1;
+
+ case 0:
+- clean_cb (opaque);
+ close (fd[1]);
+ break;
+
+@@ -241,6 +240,7 @@ miredo_privileged_process (unsigned ifindex,
+ run_script ();
+ }
+
++ clean_cb (opaque);
+ exit (0);
+ }
+