summaryrefslogtreecommitdiff
path: root/oh-my-zsh.sh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-06-05 01:04:30 -0700
committerRobby Russell <robby@planetargon.com>2011-06-05 01:04:30 -0700
commited990f61ff66a5c409ef2d8a444820cecf098188 (patch)
treed1f9e466c839ff9d98984bb7eaf722d93473d789 /oh-my-zsh.sh
parente8bd400bffc51c83e0ef6671ecb5f364dc2f5065 (diff)
parent9b4a89f327a045ed5e756ae4e75d1aac68803164 (diff)
downloadzsh-ed990f61ff66a5c409ef2d8a444820cecf098188.tar.gz
zsh-ed990f61ff66a5c409ef2d8a444820cecf098188.tar.bz2
zsh-ed990f61ff66a5c409ef2d8a444820cecf098188.zip
Merge pull request #400 from mkomitee/master
Fix bug introduced in pull request #395 which impacts users who DISABLE_AUTO_UPDATE
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r--oh-my-zsh.sh4
1 files changed, 1 insertions, 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