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 |