mbsync: add timeout

This commit is contained in:
lelgenio 2021-12-07 20:58:50 -03:00
parent 688088ba0b
commit 0b3175a068
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@ if test "$1" = "update" && ! pidof mbsync; then
then
exit 0
fi
mbsync -a ||
mbsync -a ||
mbsync -a
timeout 120s mbsync -a ||
timeout 120s mbsync -a ||
timeout 120s mbsync -a
fi
NEW=$(getnew)