mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-10 05:03:37 +00:00
update: directly return match_found variable
Co-authored-by: Andrea Terzolo <andrea.terzolo@polito.it> Signed-off-by: Lorenzo Susini <49318629+loresuso@users.noreply.github.com>
This commit is contained in:
parent
2660582198
commit
6e50d2ad83
@ -169,12 +169,7 @@ bool evttype_index_ruleset::ruleset_filters::run(gen_event *evt, std::vector<fal
|
||||
}
|
||||
}
|
||||
|
||||
if(match_found)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return match_found;
|
||||
}
|
||||
|
||||
libsinsp::events::set<ppm_sc_code> evttype_index_ruleset::ruleset_filters::sc_codes()
|
||||
|
Loading…
Reference in New Issue
Block a user