diff options
author | Karel Kočí <karel.koci@nic.cz> | 2016-08-24 11:19:01 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2016-08-24 11:19:01 +0200 |
commit | 9c49beeac91400361e830f2c3a408be686f5d103 (patch) | |
tree | 85358aeaea698e2d45d4192b702774ebc0b5d0e4 /local/bin | |
parent | 1377c7947c8996f58c0a6fa73c1a67a3703f142f (diff) | |
download | myconfigs-9c49beeac91400361e830f2c3a408be686f5d103.tar.gz myconfigs-9c49beeac91400361e830f2c3a408be686f5d103.tar.bz2 myconfigs-9c49beeac91400361e830f2c3a408be686f5d103.zip |
Ignore files in email-unread
Diffstat (limited to 'local/bin')
-rwxr-xr-x | local/bin/email-unread | 2 |
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 |