Skip to content

Commit

Permalink
bin: fix command line parsing with new config format API. (fluent#6239)
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <phil@calyptia.com>
  • Loading branch information
pwhelan authored Oct 21, 2022
1 parent c4e36d7 commit 0d6899e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fluent-bit.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ static int set_property(struct flb_cf *cf, struct flb_cf_section *s, char *kv)
}

tmp = flb_cf_section_property_add(cf, s->properties, key, 0, value, 0);
if (tmp != 0) {
if (tmp == NULL) {
fprintf(stderr, "[error] setting up section '%s' plugin property '%s'\n",
s->name, key);
}
Expand Down

0 comments on commit 0d6899e

Please sign in to comment.