diff options
-rwxr-xr-x | bin/mbsyncloop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mbsyncloop b/bin/mbsyncloop index 6b682bd..d55806b 100755 --- a/bin/mbsyncloop +++ b/bin/mbsyncloop @@ -39,6 +39,6 @@ while (1) { $last = $now; system("mbsync -c ~/.mbsyncloop $channel") and last; - system("notmuch new") and last; + system("notmuch new | grep -v '^No new mail\.\$'"); sleep 60 - (time - $now); } |