mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Fix error message that is showing a wrong dir
Reported by: Will McCutcheon <will@toyingwithfate.com>
This commit is contained in:
parent
094773d683
commit
4e3dd6c86c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322970
@ -35,7 +35,7 @@ start_precmd=clamav_clamd_precmd
|
||||
|
||||
clamav_clamd_precmd() {
|
||||
if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then
|
||||
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
|
||||
echo "Missing %%DBDIR%%/*.cvd or *.cld files. You must run freshclam first"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
@ -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 ! -f %%DBDIR%%/main.cld ];then
|
||||
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
|
||||
echo "Missing %%DBDIR%%/*.cvd or *.cld files. You must run freshclam first"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user