diff --git a/mail_loop.sh b/mail_loop.sh index af5fb1f..3b9b18d 100755 --- a/mail_loop.sh +++ b/mail_loop.sh @@ -2,9 +2,9 @@ # mymail_gmail_loop.sh MAILDIR=/tmp/$USER-mail_loop -mkdir --mode=700 $MAILDIR 2>/dev/null while [ 1 ]; do + mkdir --mode=700 $MAILDIR 2>/dev/null val=$(timeout -k 30 25 ~/.config/awesome/mail_loop_mymail.py) if [[ "$val" == "" ]]; then val = "?"; fi echo $val > $MAILDIR/mymail_count