aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-22 17:31:55 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-22 17:31:55 -0400
commit42d0412468b08a97ea2202b129963f929742d486 (patch)
tree56f5eca2ad433178ada157fe16bb79479a6a6dd9
parentcc8f0442d9ef42f4d9d3eca2bc990b6f6522fb7a (diff)
downloadpfsense-packages-42d0412468b08a97ea2202b129963f929742d486.tar.gz
pfsense-packages-42d0412468b08a97ea2202b129963f929742d486.tar.bz2
pfsense-packages-42d0412468b08a97ea2202b129963f929742d486.zip
Do not echo out error, sent it to log file and stop breaking the GUI!
-rwxr-xr-xconfig/snort/snort.inc3
1 files changed, 1 insertions, 2 deletions
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;
}
}