ids-functions.pl: Fix sub _cleanup_rulesdir() function

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2018-12-18 14:12:52 +01:00
parent f5ad510e3c
commit 1201c1e746

View 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;