From 1201c1e74695fffeae36ba8a8a6adfe422a53ddd Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 18 Dec 2018 14:12:52 +0100 Subject: [PATCH] ids-functions.pl: Fix sub _cleanup_rulesdir() function Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 684566731f..2cf1ad7cea 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -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; -- 2.39.2