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

This commit is contained in:
andryyy committed 2019-06-29 23:27:22 +02:00
1 parent f460600a4d
commit 27d1bd8aeb
2 files changed
+2 -1

No files matched your search

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