From: Stefan Schantl Date: Wed, 14 Apr 2021 19:12:36 +0000 (+0200) Subject: ids.cgi: Always write used providers rulefiles file. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d88153760742a407e964578e26c35a902c8f6a6a;p=people%2Fstevee%2Fipfire-2.x.git ids.cgi: Always write used providers rulefiles file. Signed-off-by: Stefan Schantl --- 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); } }