Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
  • Loading branch information
therealbobo committed Sep 20, 2024
1 parent 4b760ef commit f9c647d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/libsinsp_e2e/event_capture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void event_capture::capture() {
next_result = get_inspector()->next(&event);
}
if(next_result == SCAP_SUCCESS) {
if(event->get_type() == PPME_SYSCALL_KILL_E && event->get_param(1)->as<int8_t>() == -1) {
if((event->get_type() == PPME_SYSCALL_KILL_E || event->get_type() == PPME_SYSCALL_KILL_X) && event->get_param(1)->as<int8_t>() == -1) {
end_event = true;
if(m_capture_stopped) {
break;
Expand Down

0 comments on commit f9c647d

Please sign in to comment.