diff options
author | Ermal <eri@pfsense.org> | 2012-07-14 21:37:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-14 21:37:23 +0000 |
commit | 9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627 (patch) | |
tree | 48f0e1685391525f5cfd7fcf1d53e2489c51f4ec /config/snort | |
parent | 107f17441518c62a6de00124f2fb3e4ceb316894 (diff) | |
download | pfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.tar.gz pfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.tar.bz2 pfsense-packages-9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627.zip |
Correct directory path for unlink
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort_check_for_rule_updates.php | 2 |
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 */ |