diff --git a/src/config_format/flb_cf_yaml.c b/src/config_format/flb_cf_yaml.c index 70a41bd5e0d..be36c9c7087 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; } }