]> git.donarmstrong.com Git - bin.git/commitdiff
* don't use [[ in getmail
authorDon Armstrong <don@donarmstrong.com>
Wed, 10 Mar 2010 23:53:03 +0000 (23:53 +0000)
committerDon Armstrong <don@donarmstrong.com>
Wed, 10 Mar 2010 23:53:03 +0000 (23:53 +0000)
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;