convert-ids-modifysids-file: Fix check if the ids is running.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-06-09 17:55:34 +02:00
committed by Michael Tremer
parent 3f7cec61c9
commit 33afb0681f

View File

@@ -54,7 +54,7 @@ if (-f $IDS::rulestarball) {
#
# Check if the IDS should be started.
if($idssettings{"ENABLE_IDS"} eq "on") {
if(&IDS::ids_is_running()) {
# Call suricatactrl and reload the rules.
&IDS::call_suricatactrl("reload");
}