aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/clamd.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2014-03-31 08:10:52 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2014-03-31 08:10:57 +0000
commite3f71fbeb50919e6b7ff399eee74a15e3b86cf66 (patch)
tree6485053951f7de4d05ba4a069b28bafa15412f29 /main/clamav/clamd.initd
parentfcb2ddae9d0166cbaaeb53bdb326c62fd70014f0 (diff)
downloadaports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.bz2
aports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.xz
main/clamav: fix endless timeout upon daemon startup
Diffstat (limited to 'main/clamav/clamd.initd')
-rwxr-xr-xmain/clamav/clamd.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd
index 10c9c6db16..03f44c943f 100755
--- a/main/clamav/clamd.initd
+++ b/main/clamav/clamd.initd
@@ -22,8 +22,8 @@ start() {
fi
local dbdir=$(awk '$1 == "DatabaseDirectory" { print $2 }' $CONF)
- local timout=${FRESHCLAM_TIMEOUT:-120}
- local cvd="${dbdir:-/var/lib/clamav}"/main.cvd
+ local timeout=${FRESHCLAM_TIMEOUT:-120}
+ local cvd="${dbdir:-/var/lib/clamav}"/main.cld
if ! [ -e "$cvd" ]; then
ebegin "Waiting for clamav database download"