From 9c49beeac91400361e830f2c3a408be686f5d103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 24 Aug 2016 11:19:01 +0200 Subject: Ignore files in email-unread --- local/bin/email-unread | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'local') diff --git a/local/bin/email-unread b/local/bin/email-unread index 0073112..f9e3aa9 100755 --- a/local/bin/email-unread +++ b/local/bin/email-unread @@ -9,7 +9,7 @@ else fi for account in $(ls "$EMAIL"); do - cd $EMAIL/$account + if ! cd $EMAIL/$account; then continue; fi COUNT="0" COUNT=$(find . -name new -type d -print0 | while read -d $'\0' folder; do -- cgit v1.2.3