From: Eoin Hanan Date: Wed, 15 May 2019 08:34:48 +0000 (+0100) Subject: Corrected file required within if statement, to .cvd X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=1d0df90fa098fb859161f38ae0581284ad89f402;hp=8d81b3eb80e7c2d8117f1e4dd5de05a0251c38f5;p=infra%2Ftools.git Corrected file required within if statement, to .cvd Change-Id: Iabd4a0d601a48d03d06953108fab7f450a38e7eb Signed-off-by: Eoin Hanan --- diff --git a/clamav/etc/cron.daily/clamav b/clamav/etc/cron.daily/clamav index 2106235..791e847 100755 --- a/clamav/etc/cron.daily/clamav +++ b/clamav/etc/cron.daily/clamav @@ -48,7 +48,7 @@ SCANQNT="/var/.quatrantine" # Check if clamav is installed DATE=`date -u` -if [ ! -f /var/lib/clamav/daily.cld -o ! -x /usr/bin/clamscan -o ! -d /var/log/clamav ] +if [ ! -f /var/lib/clamav/daily.cvd -o ! -x /usr/bin/clamscan -o ! -d /var/log/clamav ] then echo "$DATE: clamav is not installed or is incorrectly installed." >> $ERRORLOG notify-send-user -i /usr/share/pixmaps/clamtk.png -u critical "clamav: software not installed correctly"