aboutsummaryrefslogtreecommitdiffstats
path: root/Library/brew.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-01-15 15:58:22 +0000
committerMike McQuaid2015-01-15 15:58:22 +0000
commitb35f1741b455e3662b6147977374689faf152f3b (patch)
tree7094ab4f362ad5d4a95cdbb13b0ffd167628f1c9 /Library/brew.rb
parentcaa311a97b0974cb1b77e82c2c4976ea3e8eda7b (diff)
downloadhomebrew-b35f1741b455e3662b6147977374689faf152f3b.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/brew.rb')
-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