aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-16 18:29:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-16 18:29:08 -0300
commit4031e959bca096704b50e5735c05646c8aa39eac (patch)
treeefd09589f42bf7e1baec70fa997edf74393dbfbc
parentffea22b0433b02092aa4cb3c14bf3f1eb7569e6d (diff)
downloadutils-mail-4031e959bca096704b50e5735c05646c8aa39eac.tar.gz
utils-mail-4031e959bca096704b50e5735c05646c8aa39eac.tar.bz2
Check for INBOX
-rwxr-xr-xunread-mails2
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