From 42d0412468b08a97ea2202b129963f929742d486 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 22 May 2009 17:31:55 -0400 Subject: Do not echo out error, sent it to log file and stop breaking the GUI! --- config/snort/snort.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 6de4c8f3..10f3b77e 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -107,8 +107,7 @@ function sync_package_snort() } if (count($snortInterfaces) < 1) { - //log_error("Snort will not start. You must select an interface for it to listen on."); - echo "Snort will not start. You must select an interface for it to listen on."; + log_error("Snort will not start. You must select an interface for it to listen on."); return; } } -- cgit v1.2.3