ids.cgi: Add the provider handle if the forced update of a provider

fails.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-14 20:38:59 +02:00
parent fc685a36c5
commit 258924ee79

View File

@@ -518,7 +518,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
# Call subfunction to download the ruleset.
if(&IDS::downloadruleset($provider)) {
$errormessage = $Lang::tr{'could not download latest updates'};
$errormessage = "$provider - $Lang::tr{'could not download latest updates'}";
# Call function to store the errormessage.
&IDS::_store_error_message($errormessage);