X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fconfigfile.c;h=c500d3eeb1ffecd46c03056075b807967aa5a0b9;hp=735be83dd19bf9481ade811db2870efd69c83dea;hb=42a30efe33c4d16276589e0dd1f9e135b38e054d;hpb=63b73117bbbdd7ad41c154a6f9d0446b788e0123 diff --git a/src/daemon/configfile.c b/src/daemon/configfile.c index 735be83d..c500d3ee 100644 --- a/src/daemon/configfile.c +++ b/src/daemon/configfile.c @@ -414,8 +414,10 @@ static int dispatch_block_plugin(oconfig_item_t *ci) { for (int i = 0, ret = 0; i < ci->children_num; i++) { if (ci->children[i].children == NULL) { ret = dispatch_value_plugin(name, ci->children + i); - if (ret != 0) + if (ret != 0) { + ERROR("dispatch for plugin %s returned non-zero code : %i", name, ret); return ret; + } } else { WARNING("There is a `%s' block within the " "configuration for the %s plugin. "