From 2ea58c7b6cd7a60eb24a291e7d2309a36e3d9b2e Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 14 Apr 2023 17:36:42 +0200 Subject: [PATCH] ipblocklist-functions.pl: Adjust return codes of the download function Signed-off-by: Stefan Schantl --- config/cfgroot/ipblocklist-functions.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cfgroot/ipblocklist-functions.pl b/config/cfgroot/ipblocklist-functions.pl index 943d3fd34..1206a1b3d 100644 --- a/config/cfgroot/ipblocklist-functions.pl +++ b/config/cfgroot/ipblocklist-functions.pl @@ -152,10 +152,10 @@ sub download_blocklist ($) { my $response = &General::downloader(%settings); # Abort if the response is empty - return "empty_list" unless ($response); + return "empty list" unless ($response); # Return return codes from downloader. - return "not_modified" if ($response eq "not modified"); + return "not modified" if ($response eq "not modified"); # Convert the response into an array to allow # processing the items. -- 2.39.5