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=653c593bda6f54b1e5e0119b48305a4c16b02262;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 e5553480db..ed847b9167 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); } }