From b09c13f1b6276885cfc457fa04896bfd7ba240e6 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 14 Feb 2019 12:15:41 +0100 Subject: [PATCH] convert-snort: Call subfunction to change ownership of rulestarball Signed-off-by: Stefan Schantl --- config/suricata/convert-snort | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/suricata/convert-snort b/config/suricata/convert-snort index 68d6d33794..fabf70ee77 100644 --- a/config/suricata/convert-snort +++ b/config/suricata/convert-snort @@ -222,7 +222,7 @@ if (-f $snort_rules_tarball) { move($snort_rules_tarball, $IDS::rulestarball); # Set correct ownership. - chown($uid, $gid, $IDS::rulestarball); + &IDS::set_ownership("$IDS::rulestarball"); } # -- 2.39.2