[ClamAV] Fix missing exit code var, fixes #2746
parent
f460600a4d
commit
27d1bd8aeb
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue