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 Dec 10, 2023
1 parent e3ea026 commit a96667b
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 @@ -604,8 +604,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;
}
Expand Down

0 comments on commit a96667b

Please sign in to comment.