diff --git a/procmon/processmonitor.cpp b/procmon/processmonitor.cpp index 1a1092e61..90679ee28 100644 --- a/procmon/processmonitor.cpp +++ b/procmon/processmonitor.cpp @@ -5267,8 +5267,9 @@ int ProcessMonitor::runMasterDist(std::string& password, std::string& slaveModul string moduleType = slaveModule.substr(0,MAX_MODULE_TYPE_SIZE); - if ( ( (PMwithUM == "y") && (moduleType == "pm") ) && - ( config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM) ) + if ( (moduleType == "um") || + ( (PMwithUM == "y") && (moduleType == "pm") ) || + ( config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM) ) { slave++;