Skip to content
Snippets Groups Projects
Commit 94409712 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

install: don't exit on Homebrew.failed?

This will be set if e.g. pinned packages aren't being upgraded.

Fixes #4388.
parent 1e610ae7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment