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

(-)clamd.orig (-1 / +1 lines)
Lines 38-44 Link Here
38
38
39
		local logfile=`awk '$1 == "LogFile" { print $2 }' /etc/clamd.conf`
39
		local logfile=`awk '$1 == "LogFile" { print $2 }' /etc/clamd.conf`
40
		local clamav_user=`awk '$1 == "User" { print $2 }' /etc/clamd.conf`
40
		local clamav_user=`awk '$1 == "User" { print $2 }' /etc/clamd.conf`
41
		if [[ -n "${logfile}" && -n "${clamav_user}" ]]; then
41
		if [ -n "${logfile}" ] && [ -n "${clamav_user}" ]; then
42
			if [ ! -f "${logfile}" ]; then
42
			if [ ! -f "${logfile}" ]; then
43
				touch ${logfile}
43
				touch ${logfile}
44
			fi	
44
			fi	

Return to bug 171755