continue mail indexing on failed sync
This commit is contained in:
parent
b144505e6e
commit
d276649800
@ -17,7 +17,7 @@ ip route ls | grep -q '.'
|
|||||||
pgrep gpg-agent > /dev/null
|
pgrep gpg-agent > /dev/null
|
||||||
|
|
||||||
# Sync email
|
# Sync email
|
||||||
mbsync -a -q
|
mbsync -a -q || true
|
||||||
|
|
||||||
# No further processing if there are no new mails
|
# No further processing if there are no new mails
|
||||||
if ! mdirs /data/mail | mlist -N | grep -q .; then
|
if ! mdirs /data/mail | mlist -N | grep -q .; then
|
||||||
|
Loading…
Reference in New Issue
Block a user