Corrected file required within if statement, to .cvd 01/1201/2
authorEoin Hanan <eoin.hanan@est.tech>
Wed, 15 May 2019 08:34:48 +0000 (09:34 +0100)
committerEoin Hanan <eoin.hanan@est.tech>
Wed, 15 May 2019 08:41:08 +0000 (08:41 +0000)
Change-Id: Iabd4a0d601a48d03d06953108fab7f450a38e7eb
Signed-off-by: Eoin Hanan <eoin.hanan@est.tech>
clamav/etc/cron.daily/clamav

index 2106235ef96d2aee9ec798f05e392a1352d5a39a..791e847b79e5c1cb982eafc5fccc86b1a2d4a103 100755 (executable)
@@ -48,7 +48,7 @@ SCANQNT="/var/.quatrantine"
 # Check if clamav is installed
 DATE=`date -u`
 
 # 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"
 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"