summaryrefslogtreecommitdiffstats
path: root/system/clamav/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamav/doinst.sh')
-rw-r--r--system/clamav/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/clamav/doinst.sh b/system/clamav/doinst.sh
index 4d177d91b4..6ee0edcffc 100644
--- a/system/clamav/doinst.sh
+++ b/system/clamav/doinst.sh
@@ -27,7 +27,7 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.clamav.new
config etc/freshclam.conf.new
config etc/clamd.conf.new
-config etc/clamav-milter.conf.new
+[ -f etc/clamav-milter.conf.new ] && config etc/clamav-milter.conf.new
config etc/logrotate.d/clamav.new
# Remove new log if one is already present
config var/log/clamav/clamd.log.new ; rm -f var/log/clamav/clamd.log.new