aboutsummaryrefslogtreecommitdiff
path: root/local/bin/email-unread
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/email-unread')
-rwxr-xr-xlocal/bin/email-unread2
1 files changed, 1 insertions, 1 deletions
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