aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-01-15 15:58:22 +0000
committerMike McQuaid2015-01-15 15:58:22 +0000
commit3613f0349ee56084f40a1367a496cff5ea8da328 (patch)
treed056c7513536fd7cfbb6b21fbdf8e071d71374e3 /Library
parentfd8bb8776c9e4746458ca3f642b84e186e3eb377 (diff)
downloadbrew-3613f0349ee56084f40a1367a496cff5ea8da328.tar.bz2
brew.rb: remove unneeded exit code duplication.
Fixes comments made in: https://github.com/Homebrew/homebrew/commit/91c267bdb1607334febaac3272ccc62ada6ae4fd#commitcomment-9146910.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/brew.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/brew.rb b/Library/brew.rb
index 88a0f6cc8..843853335 100755
--- a/Library/brew.rb
+++ b/Library/brew.rb
@@ -133,7 +133,6 @@ begin
if internal_cmd
Homebrew.send cmd.to_s.gsub('-', '_').downcase
- exit 1 if Homebrew.failed?
elsif which "brew-#{cmd}"
%w[CACHE CELLAR LIBRARY_PATH PREFIX REPOSITORY].each do |e|
ENV["HOMEBREW_#{e}"] = Object.const_get("HOMEBREW_#{e}").to_s