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

master
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 'sanesecurity.ftm' \
--include 'sigwhitelist.ign2' \ --include 'sigwhitelist.ign2' \
--exclude='*' /var/lib/clamav/ --exclude='*' /var/lib/clamav/
CE=$?
chown 755 /var/lib/clamav/ chown 755 /var/lib/clamav/
if [ ${CE} -eq 0 ]; then if [ ${CE} -eq 0 ]; then
echo RELOAD | nc localhost 3310 echo RELOAD | nc localhost 3310

View File

@ -55,7 +55,7 @@ services:
- redis - redis
clamd-mailcow: clamd-mailcow:
image: mailcow/clamd:1.24 image: mailcow/clamd:1.25
build: ./data/Dockerfiles/clamd build: ./data/Dockerfiles/clamd
restart: always restart: always
environment: environment: