continue mail indexing on failed sync

This commit is contained in:
Felix Van der Jeugt 2022-01-04 00:27:11 +01:00
parent b144505e6e
commit d276649800
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -17,7 +17,7 @@ ip route ls | grep -q '.'
pgrep gpg-agent > /dev/null
# Sync email
mbsync -a -q
mbsync -a -q || true
# No further processing if there are no new mails
if ! mdirs /data/mail | mlist -N | grep -q .; then