diff --git a/ps.c b/ps.c index 1474a4b3..98a20ad1 100644 --- a/ps.c +++ b/ps.c @@ -860,8 +860,10 @@ port_share_open (const char *host, /* Let msg know that we forked */ msg_forked (); +#ifdef ENABLE_MANAGEMENT /* Don't interact with management interface */ management = NULL; +#endif /* close all parent fds except our socket back to parent */ close_fds_except (fd[1]);