From: Silvio Rhatto Date: Sat, 16 Sep 2017 21:29:08 +0000 (-0300) Subject: Check for INBOX X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4031e959bca096704b50e5735c05646c8aa39eac;p=utils-mail.git Check for INBOX --- 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