aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-11-10 19:35:17 +0000
committerErmal <eri@pfsense.org>2011-11-10 19:35:17 +0000
commitd522ae459e7bb4b795f766ac9e8ba0dd06ec1195 (patch)
treeb3e72f855883a9dd2be30e93d34068cc6446912c
parent612d5d31a66d33185eb150ba9107d641930c5332 (diff)
downloadpfsense-packages-d522ae459e7bb4b795f766ac9e8ba0dd06ec1195.tar.gz
pfsense-packages-d522ae459e7bb4b795f766ac9e8ba0dd06ec1195.tar.bz2
pfsense-packages-d522ae459e7bb4b795f766ac9e8ba0dd06ec1195.zip
Correct check
-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 a6f4c9aa..f781e4f1 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -544,7 +544,7 @@ function snort_postinstall()
}
/* rm barnyard2 important */
- if (!file_exists('/usr/local/bin/barnyard2'))
+ if (file_exists('/usr/local/bin/barnyard2'))
@unlink('/usr/local/bin/barnyard2');
/* XXX: These are needed if you run snort as snort user