]> git.donarmstrong.com Git - bin.git/blobdiff - getmail
* don't use [[ in getmail
[bin.git] / getmail
diff --git a/getmail b/getmail
index 09ec4bc0a5d5ad75859a0d71bea3f0c34d811a99..539fbfe821e60bf7e6a34e4dc8a52a30ed8b2b0e 100755 (executable)
--- a/getmail
+++ b/getmail
@@ -8,7 +8,7 @@ MUA=mutt
 
 # Don't check mail if ~/.nocheck exists and we're not running
 # interactively.
-if [[ -z "$CRON" && -e ~/.nocheck ]]; then
+if [ -z "$CRON" ] && [ -e ~/.nocheck ]; then
     exit 0;
 fi;