Relaxed error handling (#2233)

This commit is contained in:
Casper 2021-10-03 14:48:43 +02:00 committed by GitHub
parent a83363a239
commit 61973f731c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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'
}