mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-15 13:32:59 +02:00
ids-functions.pl: Fix sub _cleanup_rulesdir() function
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user