summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTslil Clingman <tslil.clingman@gmail.com>2015-06-26 17:02:33 +0200
committerTslil Clingman <tslil.clingman@gmail.com>2015-06-26 17:02:33 +0200
commit4e6a4a524608d43561e32ddbd234586e8d6bef56 (patch)
tree993cd51d985f1712fb5c20cb8d19604969afe413
parentdb8146fe4f86a2d0f76a9e7b4ac392985dafcdc1 (diff)
Don't print blanklines if there's no mail
-rwxr-xr-xnewmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/newmail b/newmail
index 8d298bd..5cbe117 100755
--- a/newmail
+++ b/newmail
@@ -18,4 +18,4 @@ for server in $servers; do
fi
done;
-echo $result
+[ -n "$result" ] && echo $result || true