aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ps.c b/ps.c
index 9b9723c..ef48e36 100644
--- a/ps.c
+++ b/ps.c
@@ -774,6 +774,9 @@ port_share_open (const char *host, const int port)
/* Let msg know that we forked */
msg_forked ();
+ /* Don't interact with management interface */
+ management = NULL;
+
/* close all parent fds except our socket back to parent */
close_fds_except (fd[1]);