Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 305961
Collapse All | Expand All

(-)/usr/portage/app-antivirus/clamav/files/clamd.rc (-1 / +1 lines)
Lines 91-97 Link Here
91
		# (might be clobbered by logrotate or something)
91
		# (might be clobbered by logrotate or something)
92
		logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf`
92
		logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf`
93
		local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf`
93
		local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf`
94
		if [ -n "${logfile}" -a -n "${clamav_user}" ]; then
94
		if [ -n "${logfile}" -a -n "${freshclam_user}" ]; then
95
			if [ ! -f "${logfile}" ]; then
95
			if [ ! -f "${logfile}" ]; then
96
				touch ${logfile}
96
				touch ${logfile}
97
			fi	
97
			fi	

Return to bug 305961