From d88153760742a407e964578e26c35a902c8f6a6a Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Wed, 14 Apr 2021 21:12:36 +0200 Subject: [PATCH] ids.cgi: Always write used providers rulefiles file. Signed-off-by: Stefan Schantl --- html/cgi-bin/ids.cgi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index c8f9447437..0674978354 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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); } } -- 2.39.5