From: Stefan Schantl Date: Sun, 2 Jan 2022 08:48:55 +0000 (+0100) Subject: ids-functions.pl: Proper return flase if the downloaded rulestarball X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dffce1e270675193c15ebc0ab6ce54eb3268707d;p=people%2Fstevee%2Fipfire-2.x.git ids-functions.pl: Proper return flase if the downloaded rulestarball cannot be stored. Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 997c503ef9..97bf4d08be 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -439,6 +439,7 @@ sub downloadruleset ($) { unlink("$tmpfile"); # Return "1" - false. + return 1; } # Load file copy module, which contains the move() function.