|
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 |