Skip to content

Commit

Permalink
config: fix compilation with FLB_HAVE_STATIC_CONF
Browse files Browse the repository at this point in the history
Fixes the following compilation error:

```
/tmp/fluent-bit/src/fluent-bit.c:607:10: error: label at end of compound statement
     case SIGHUP:
          ^~~~~~
```

Signed-off-by: Bryce Gibson <[email protected]>
  • Loading branch information
bglimepoint committed Aug 8, 2023
1 parent 5686334 commit ea04b9b
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 @@ -599,8 +599,8 @@ static void flb_signal_handler(int signal)
case SIGCONT:
flb_dump(ctx->config);
break;
case SIGHUP:
#ifndef FLB_HAVE_STATIC_CONF
case SIGHUP:
if (flb_bin_restarting == FLB_RELOAD_IDLE) {
flb_bin_restarting = FLB_RELOAD_IN_PROGRESS;
/* reload by using same config files/path */
Expand Down

0 comments on commit ea04b9b

Please sign in to comment.