convert-snort: Set correct ownership after modify_sids_file has been generated.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-02-18 13:33:41 +01:00
parent d0f9526beb
commit 5d7d8749dc

View File

@@ -209,6 +209,9 @@ if ($idssettings{"MONITOR_TRAFFIC_ONLY"} eq "off") {
# Call subfunction and pass the desired IDS action.
&IDS::write_modify_sids_file($IDS_action);
# Set correct ownership.
&IDS::set_ownership("$IDS::modify_sids_file");
#
## Step 6: Move rulestarball to its new location.
#