convert-snort: Call subfunction to change ownership of rulestarball

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-02-14 12:15:41 +01:00
parent 99b2e30636
commit b09c13f1b6

View 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");
}
#