ids.cgi: Always write used providers rulefiles file.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-14 21:12:36 +02:00
parent 258924ee79
commit 14696ced7e

View File

@@ -463,11 +463,8 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
push(@provider_rulefiles, $rulesfile);
}
# Check if any rulesfiles have been found for this provider.
if (@provider_rulefiles) {
# Call function and write the providers used rulesfile file.
&IDS::write_used_provider_rulefiles_file($provider, @provider_rulefiles);
}
# Call function and write the providers used rulesfile file.
&IDS::write_used_provider_rulefiles_file($provider, @provider_rulefiles);
}
}