From fabc467594ea3c5c3fe9ebd5eb0ffc96f6792447 Mon Sep 17 00:00:00 2001 From: okertanov Date: Sun, 5 Jun 2011 02:05:07 +0300 Subject: [PATCH] fix script return when DISABLE_AUTO_UPDATE is true --- oh-my-zsh.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 2157c38a0..d72d90cf9 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -1,8 +1,6 @@ # Check for updates on initial load... -if [ "$DISABLE_AUTO_UPDATE" = "true" ] +if [ "$DISABLE_AUTO_UPDATE" != "true" ] then - return -else /usr/bin/env zsh $ZSH/tools/check_for_upgrade.sh fi