aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort/snort_check_for_rule_updates.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 689b3174..d4f990a4 100644
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -395,12 +395,10 @@ if ($snortdownload == 'on' || $emergingthreats == 'on') {
}
}
- if (is_process_running("snort")) {
- exec("/bin/sh /usr/local/etc/rc.d/snort.sh restart");
- update_output_window(gettext("Snort has restarted with your new set of rules..."));
- log_error("Snort has restarted with your new set of rules...");
- } else
- log_error("Snort Rules update finished...");
+ exec("/bin/sh /usr/local/etc/rc.d/snort.sh restart");
+ update_output_window(gettext("Snort has restarted with your new set of rules..."));
+ log_error("Snort has restarted with your new set of rules...");
+
}
update_status(gettext("The Rules update finished..."));