]> gitweb.fluxo.info Git - utils-mail.git/commitdiff
Check for INBOX
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Sep 2017 21:29:08 +0000 (18:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Sep 2017 21:29:08 +0000 (18:29 -0300)
unread-mails

index 37f3a9732c285610f84e3ee6cd46f943969e32ca..2614e354c157795d01aca564f6179bd40dbd3e98 100755 (executable)
@@ -8,7 +8,7 @@ MAIL="$HOME/mail"
 INBOX="$MAIL/INBOX"
 
 # Check
-if [ ! -d "$MAIL" ]; then
+if [ ! -d "$INBOX" ]; then
   exit
 fi