aboutsummaryrefslogtreecommitdiff
path: root/security/clamav/files/clamav-clamd.in
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-06-17 11:20:04 +0000
committerRenato Botelho <garga@FreeBSD.org>2008-06-17 11:20:04 +0000
commita6a0eaab90d5d4635a2e842c43c50681a61538d5 (patch)
treef33448a298f04f2488ec6d7224e836de245efebd /security/clamav/files/clamav-clamd.in
parentbc83a1d6076579372c94684284644c4acc05bd3a (diff)
downloadports-a6a0eaab90d5d4635a2e842c43c50681a61538d5.tar.gz
ports-a6a0eaab90d5d4635a2e842c43c50681a61538d5.zip
Notes
Diffstat (limited to 'security/clamav/files/clamav-clamd.in')
-rw-r--r--security/clamav/files/clamav-clamd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in
index 8adcc8f55466..d3d67d672bef 100644
--- a/security/clamav/files/clamav-clamd.in
+++ b/security/clamav/files/clamav-clamd.in
@@ -36,7 +36,7 @@ start_precmd=clamav_clamd_precmd
#clamav .93 won't start without a valid main.c[vl]d file
clamav_clamd_precmd() {
- if [ ! -f %%DBDIR%%/main.cvd -a ! %%DBDIR%%/main.cld ];then
+ if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
exit 1
fi