(462) Add ability to specify a path with SCOPE_CONF_RELOAD.
@@ -376,11 +376,14 @@ processReloadConfig(config_t *cfg, const char* value)
{
if (!cfg || !value) return;
unsigned int enable = strToVal(boolMap, value);
- if (enable != TRUE) return;
+ if (enable == TRUE) {
char *path = cfgPath();
cfgSetFromFile(cfg, path);
if (path) free(path);
+ } else {
+ cfgSetFromFile(cfg, value);
+ }
cfgProcessEnvironment(cfg);
