[ClamAV] Fix missing exit code var, fixes #2746

This commit is contained in:
andryyy
2019-06-29 23:27:20 +02:00
parent f460600a4d
commit 27d1bd8aeb
2 changed files with 2 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ while true; do
--include 'sanesecurity.ftm' \
--include 'sigwhitelist.ign2' \
--exclude='*' /var/lib/clamav/
CE=$?
chown 755 /var/lib/clamav/
if [ ${CE} -eq 0 ]; then
echo RELOAD | nc localhost 3310