]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/suricata/convert-snort
convert-snort: Call subfunction to change ownership of rulestarball
[ipfire-2.x.git] / config / suricata / convert-snort
index 68d6d337949170dbf1ca666187b0d199cadd53d2..fabf70ee77bc08358889c89c5d2037ded17f7c6f 100644 (file)
@@ -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");
 }
 
 #