--- /usr/portage/app-antivirus/clamav/files/clamd.rc 2009-06-21 12:05:18.000000000 +0200 +++ /usr/portage/app-antivirus/clamav/files/clamd.rc 2010-03-15 17:18:44.000000000 +0100 @@ -91,7 +91,7 @@ # (might be clobbered by logrotate or something) logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf` local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf` - if [ -n "${logfile}" -a -n "${clamav_user}" ]; then + if [ -n "${logfile}" -a -n "${freshclam_user}" ]; then if [ ! -f "${logfile}" ]; then touch ${logfile} fi