Skip to content

Commit 5a573de

Browse files
committed
in_lib: Address a review comment
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent 09c41bf commit 5a573de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/in_lib/in_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static int in_lib_collect(struct flb_input_instance *ins,
7575

7676
perror("read");
7777
flb_pipe_error();
78-
if (errno == -EPIPE) {
78+
if (errno == EPIPE) {
7979
return -1;
8080
}
8181
return 0;

0 commit comments

Comments
 (0)