From: Stefan Schantl Date: Thu, 14 Feb 2019 11:15:41 +0000 (+0100) Subject: convert-snort: Call subfunction to change ownership of rulestarball X-Git-Tag: v2.23-core131~117^2~41 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=b09c13f1b6276885cfc457fa04896bfd7ba240e6 convert-snort: Call subfunction to change ownership of rulestarball Signed-off-by: Stefan Schantl --- 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"); } #