From: Silvio Rhatto Date: Tue, 29 Nov 2016 12:31:07 +0000 (-0200) Subject: Check for postponed file X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7678b69825b51e3697a0acce0c8b150be0398f29;p=utils-mail.git Check for postponed file --- diff --git a/postponed b/postponed index d08d281..38aaf9e 100755 --- a/postponed +++ b/postponed @@ -5,6 +5,13 @@ # Setup POSTPONED="$HOME/temp/mutt/postponed" + +# Check +if [ ! -e "$POSTPONED" ]; then + exit +fi + +# Calculate TOTAL="`grep "^From: " $POSTPONED | wc -l`" # Print