aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-14 21:37:23 +0000
committerErmal <eri@pfsense.org>2012-07-14 21:37:23 +0000
commit9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627 (patch)
tree48f0e1685391525f5cfd7fcf1d53e2489c51f4ec
parent107f17441518c62a6de00124f2fb3e4ceb316894 (diff)
downloadpfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.tar.gz
pfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.tar.bz2
pfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.zip
Correct directory path for unlink
-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 2b9dcdc6..4208350f 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/precompiled/$freebsd_version_so/x86-64/{$snort_version}");
+ unlink("{$snortdir}/tmp/so_rules");
if ($nosorules == false) {
/* extract so rules none bin and rename */