aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2016-08-24 11:19:01 +0200
committerKarel Kočí <karel.koci@nic.cz>2016-08-24 11:19:01 +0200
commit9c49beeac91400361e830f2c3a408be686f5d103 (patch)
tree85358aeaea698e2d45d4192b702774ebc0b5d0e4
parent1377c7947c8996f58c0a6fa73c1a67a3703f142f (diff)
downloadmyconfigs-9c49beeac91400361e830f2c3a408be686f5d103.tar.gz
myconfigs-9c49beeac91400361e830f2c3a408be686f5d103.tar.bz2
myconfigs-9c49beeac91400361e830f2c3a408be686f5d103.zip
Ignore files in 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