From 9cb0bdb0a39b9bb117dfcfa255bb1caf8b0bf627 Mon Sep 17 00:00:00 2001 From: Ermal Date: Sat, 14 Jul 2012 21:37:23 +0000 Subject: Correct directory path for unlink --- config/snort/snort_check_for_rule_updates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3