Skip to content

Commit 1b22395

Browse files
committed
appsec: Fix spurious warning
1 parent eb6105b commit 1b22395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appsec/src/extension/commands_helpers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static dd_result _dd_command_exec(dd_conn *nonnull conn, bool check_cred,
177177
return dd_error;
178178
}
179179
if (res != dd_success && res != dd_should_block &&
180-
res != dd_should_redirect) {
180+
res != dd_should_redirect && res != dd_should_record) {
181181
mlog(dd_log_warning, "Processing for command %.*s failed: %s",
182182
NAME_L, dd_result_to_string(res));
183183
return res;

0 commit comments

Comments
 (0)