From 3613f0349ee56084f40a1367a496cff5ea8da328 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 15 Jan 2015 15:58:22 +0000 Subject: [PATCH] brew.rb: remove unneeded exit code duplication. Fixes comments made in: https://github.com/Homebrew/homebrew/commit/91c267bdb1607334febaac3272ccc62ada6ae4fd#commitcomment-9146910. --- Library/brew.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/brew.rb b/Library/brew.rb index 88a0f6cc83..8438533359 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