]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/ids-functions.pl
ids-functions.pl: Fix sub _cleanup_rulesdir() function
[ipfire-2.x.git] / config / cfgroot / ids-functions.pl
index 684566731fddf635a684d9bf8ed212f946d03f55..2cf1ad7cea81179002f328686a033fd245714397 100644 (file)
@@ -464,7 +464,7 @@ sub _cleanup_rulesdir() {
 
                # Delete the current processed file, if not, exit this function
                # and return an error message.
-               unlink($rulespath/$file) or return "Could not delete $rulespath/$file. $!\n";
+               unlink("$rulespath/$file") or return "Could not delete $rulespath/$file. $!\n";
        }
 
        # Return nothing;