diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 18:29:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-16 18:29:08 -0300 |
commit | 4031e959bca096704b50e5735c05646c8aa39eac (patch) | |
tree | efd09589f42bf7e1baec70fa997edf74393dbfbc | |
parent | ffea22b0433b02092aa4cb3c14bf3f1eb7569e6d (diff) | |
download | utils-mail-4031e959bca096704b50e5735c05646c8aa39eac.tar.gz utils-mail-4031e959bca096704b50e5735c05646c8aa39eac.tar.bz2 |
Check for INBOX
-rwxr-xr-x | unread-mails | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unread-mails b/unread-mails index 37f3a97..2614e35 100755 --- a/unread-mails +++ b/unread-mails @@ -8,7 +8,7 @@ MAIL="$HOME/mail" INBOX="$MAIL/INBOX" # Check -if [ ! -d "$MAIL" ]; then +if [ ! -d "$INBOX" ]; then exit fi |