mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2026-05-05 04:06:26 +02:00
Relaxed error handling (#2233)
This commit is contained in:
parent
a83363a239
commit
61973f731c
@ -40,11 +40,11 @@ function _fix_var_amavis_permissions
|
||||
function _fix_cleanup_clamav
|
||||
{
|
||||
_notify 'task' 'Cleaning up disabled ClamAV'
|
||||
rm /etc/logrotate.d/clamav-* /etc/cron.d/clamav-freshclam || _shutdown 'Failed to remove ClamAV configuration'
|
||||
rm /etc/logrotate.d/clamav-* /etc/cron.d/clamav-freshclam || _notify 'err' 'Failed to remove ClamAV configuration'
|
||||
}
|
||||
|
||||
function _fix_cleanup_spamassassin
|
||||
{
|
||||
_notify 'task' 'Cleaning up disabled SpamAssassin'
|
||||
rm /etc/cron.daily/spamassassin || _shutdown 'Failed to remove SpamAssassin configuration'
|
||||
rm /etc/cron.daily/spamassassin || _notify 'err' 'Failed to remove SpamAssassin configuration'
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user