summaryrefslogtreecommitdiff
path: root/src/common/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/conf.c')
-rw-r--r--src/common/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/conf.c b/src/common/conf.c
index a6329d70e..813069ac4 100644
--- a/src/common/conf.c
+++ b/src/common/conf.c
@@ -83,6 +83,9 @@ void config_setting_copy_aggregate(config_setting_t *parent, const config_settin
config_setting_t *newAgg;
int i, n;
+ if( config_setting_get_member(parent, config_setting_name(src)) != NULL )
+ return;
+
newAgg = config_setting_add(parent, config_setting_name(src), config_setting_type(src));
if (newAgg == NULL)