Skip to content

Commit

Permalink
engine: handle two stop signal modes
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jul 3, 2020
1 parent 1a0cb0d commit efd2c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static FLB_INLINE int flb_engine_handle_event(flb_pipefd_t fd, int mask,
}
else if (config->ch_manager[0] == fd) {
ret = flb_engine_manager(fd, config);
if (ret == FLB_ENGINE_STOP) {
if (ret == FLB_ENGINE_STOP || ret == FLB_ENGINE_EV_STOP) {
return FLB_ENGINE_STOP;
}
}
Expand Down

0 comments on commit efd2c81

Please sign in to comment.