diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index c1e0e3c6..de74b8c7 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -179,8 +179,15 @@ std::optional CConfigManager::handleSource(const std::string& comma return "source file " + value + " doesn't exist!"; } + // allow for nested config parsing + auto backupConfigPath = configCurrentPath; + configCurrentPath = value; + m_config.parseFile(value.c_str()); + configCurrentPath = backupConfigPath; + + } return {};