aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpostponed7
1 files changed, 7 insertions, 0 deletions
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