aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-02-09 19:25:16 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-02-09 19:25:16 -0500
commit3d747e40bfcd44d790da46d7d686117b2946be17 (patch)
tree2717368192c41b1418546d7b822a46f35c1ea8bf
parent8381cbd90c990d0b11b55727ed53188fe3106657 (diff)
downloadpfsense-packages-3d747e40bfcd44d790da46d7d686117b2946be17.tar.gz
pfsense-packages-3d747e40bfcd44d790da46d7d686117b2946be17.tar.bz2
pfsense-packages-3d747e40bfcd44d790da46d7d686117b2946be17.zip
Use correct -C dir
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 5c70783b..129fc59f 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -632,7 +632,7 @@ function extract_snort_rules_md5($tmpfname) {
update_all_status($static_output);
}
mkdir("/usr/local/etc/snort/rules/");
- $cmd = "/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C /usr/local/etc/snort/rules/";
+ $cmd = "/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C /usr/local/etc/snort/";
exec($cmd);
if(!$console_mode) {
$static_output = gettext("Snort rules extracted.");