aboutsummaryrefslogtreecommitdiff
path: root/unread-mails
diff options
context:
space:
mode:
Diffstat (limited to 'unread-mails')
-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