diff --git a/src/config_format/flb_cf_yaml.c b/src/config_format/flb_cf_yaml.c index 96eb7fc11e8..77e3fbe008c 100644 --- a/src/config_format/flb_cf_yaml.c +++ b/src/config_format/flb_cf_yaml.c @@ -429,7 +429,7 @@ static int read_glob(struct flb_cf *conf, struct local_ctx *ctx, for (idx = 0; idx < glb.gl_pathc; idx++) { ret = read_config(conf, ctx, state->file, glb.gl_pathv[idx]); - if (ret < 0) { + if (ret < 0) { break; } }