install: don't exit on Homebrew.failed?
This will be set if e.g. pinned packages aren't being upgraded. Fixes #4388.
This commit is contained in:
parent
1e610ae7a3
commit
94409712fe
@ -27,12 +27,14 @@ module Homebrew
|
||||
|
||||
def check_development_tools
|
||||
checks = Diagnostic::Checks.new
|
||||
failed = false
|
||||
checks.fatal_development_tools_checks.each do |check|
|
||||
out = checks.send(check)
|
||||
next if out.nil?
|
||||
failed ||= true
|
||||
ofail out
|
||||
end
|
||||
exit 1 if Homebrew.failed?
|
||||
exit 1 if failed
|
||||
end
|
||||
|
||||
def check_cellar
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user