From 1d0df90fa098fb859161f38ae0581284ad89f402 Mon Sep 17 00:00:00 2001 From: Eoin Hanan Date: Wed, 15 May 2019 09:34:48 +0100 Subject: [PATCH 1/1] Corrected file required within if statement, to .cvd Change-Id: Iabd4a0d601a48d03d06953108fab7f450a38e7eb Signed-off-by: Eoin Hanan --- clamav/etc/cron.daily/clamav | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.25.1