aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-03 16:08:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-03 16:08:16 +0000
commit2971cfc00cdbc12d06f099ea4b8a3a1fe99789bd (patch)
treefd8f3f8400521f3c1d203ec22b9f08eb92b21559
parent974a35da68f3c9c8e64d64b3c3cc7e58eeb28513 (diff)
downloadpfsense-packages-2971cfc00cdbc12d06f099ea4b8a3a1fe99789bd.tar.gz
pfsense-packages-2971cfc00cdbc12d06f099ea4b8a3a1fe99789bd.tar.bz2
pfsense-packages-2971cfc00cdbc12d06f099ea4b8a3a1fe99789bd.zip
Do not exit when opening for writing fails, simply return.
-rw-r--r--packages/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 284f7df4..23e006f9 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -131,7 +131,7 @@ function generate_snort_conf() {
$whitelist = fopen("/var/db/whitelist", "w");
if(!$whitelist) {
log_error("Could not open /var/db/whitelist for writing.");
- exit;
+ return;
}
/* build an interface array list */