aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-14 22:14:28 +0000
committerErmal <eri@pfsense.org>2012-07-14 22:14:28 +0000
commit0c35070682b3a58e1c3b8b40bc1512bc72bb7676 (patch)
tree73317e663cffb3ed1bf990963c600b119a7c02c1 /config
parent4298ad1e9e309c40e58eca024179bcdac20d2ba9 (diff)
downloadpfsense-packages-0c35070682b3a58e1c3b8b40bc1512bc72bb7676.tar.gz
pfsense-packages-0c35070682b3a58e1c3b8b40bc1512bc72bb7676.tar.bz2
pfsense-packages-0c35070682b3a58e1c3b8b40bc1512bc72bb7676.zip
Make any errors
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_check_for_rule_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 4208350f..23cdc9a7 100644
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -197,7 +197,7 @@ if ($snortdownload == 'on') {
exec("/bin/cp {$snortdir}/tmp/so_rules/precompiled/$freebsd_version_so/x86-64/{$snort_version}/* /usr/local/lib/snort/dynamicrules/");
} else
$nosorules = true;
- unlink("{$snortdir}/tmp/so_rules");
+ @unlink("{$snortdir}/tmp/so_rules");
if ($nosorules == false) {
/* extract so rules none bin and rename */