diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-31 08:10:52 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-03-31 08:10:57 +0000 |
commit | e3f71fbeb50919e6b7ff399eee74a15e3b86cf66 (patch) | |
tree | 6485053951f7de4d05ba4a069b28bafa15412f29 /main/clamav/clamd.initd | |
parent | fcb2ddae9d0166cbaaeb53bdb326c62fd70014f0 (diff) | |
download | aports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.bz2 aports-e3f71fbeb50919e6b7ff399eee74a15e3b86cf66.tar.xz |
main/clamav: fix endless timeout upon daemon startup
Diffstat (limited to 'main/clamav/clamd.initd')
-rwxr-xr-x | main/clamav/clamd.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd index 10c9c6db1..03f44c943 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" |