summaryrefslogtreecommitdiffstats
path: root/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps.c')
-rw-r--r--ps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ps.c b/ps.c
index 049b39f..e07078f 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]);