Skip to content

Commit

Permalink
appsec: Fix spurious warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed Jul 12, 2024
1 parent eb6105b commit 1b22395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appsec/src/extension/commands_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static dd_result _dd_command_exec(dd_conn *nonnull conn, bool check_cred,
return dd_error;
}
if (res != dd_success && res != dd_should_block &&
res != dd_should_redirect) {
res != dd_should_redirect && res != dd_should_record) {
mlog(dd_log_warning, "Processing for command %.*s failed: %s",
NAME_L, dd_result_to_string(res));
return res;
Expand Down

0 comments on commit 1b22395

Please sign in to comment.