mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-28 07:37:32 +00:00
Remove unneccessary HAS_FILTERING conditional
This commit is contained in:
parent
859047c5f2
commit
d0e489b5c2
@ -261,7 +261,6 @@ int digwatch_init(int argc, char **argv)
|
||||
|
||||
if(optind < argc)
|
||||
{
|
||||
#ifdef HAS_FILTERING
|
||||
for(int32_t j = optind ; j < argc; j++)
|
||||
{
|
||||
rules_file += argv[j];
|
||||
@ -271,11 +270,6 @@ int digwatch_init(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
fprintf(stderr, "filtering not compiled.\n");
|
||||
result = EXIT_FAILURE;
|
||||
goto exit;
|
||||
#endif
|
||||
}
|
||||
|
||||
if(rules_file.size() == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user