Skip to content

Commit

Permalink
exit offlineimap after sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Roy committed Mar 9, 2017
1 parent a164b48 commit 0d41d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ diff=$(($now - $lastfull))

if [ $diff -gt $delta ]; then
echo "full offlineimap sync.."
offlineimap || exit 1
offlineimap -o || exit 1
echo -n $now > $lastfull_f
else
echo "quick offlineimap sync.."
offlineimap -q || exit 1
offlineimap -o -q || exit 1
fi


Expand Down

0 comments on commit 0d41d97

Please sign in to comment.