diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-11-29 10:31:07 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-11-29 10:31:07 -0200 |
commit | 7678b69825b51e3697a0acce0c8b150be0398f29 (patch) | |
tree | 135b114e1a041e116e3b0fc87bd0458859f3433b | |
parent | 9da1c6771fd7fdb8f0bb7d2abda050e9c13674cd (diff) | |
download | utils-mail-7678b69825b51e3697a0acce0c8b150be0398f29.tar.gz utils-mail-7678b69825b51e3697a0acce0c8b150be0398f29.tar.bz2 |
Check for postponed file
-rwxr-xr-x | postponed | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |