]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids-functions.pl: Proper return flase if the downloaded rulestarball
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:48:55 +0000 (09:48 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:48:55 +0000 (09:48 +0100)
cannot be stored.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index 997c503ef9b78b75ec24bc3e2581b1352cb7aa87..97bf4d08be43c9976910212c45e198f23e1783f1 100644 (file)
@@ -439,6 +439,7 @@ sub downloadruleset ($) {
                        unlink("$tmpfile");
 
                        # Return "1" - false.
+                       return 1;
                }
 
                # Load file copy module, which contains the move() function.