upgrade: fix UnsatisfiedRequirements exit code.
This commit is contained in:
parent
987805d3dc
commit
9ed1ed3c05
@ -95,6 +95,7 @@ module Homebrew
|
|||||||
next unless f.installed?
|
next unless f.installed?
|
||||||
Homebrew::Cleanup.cleanup_formula f
|
Homebrew::Cleanup.cleanup_formula f
|
||||||
rescue UnsatisfiedRequirements => e
|
rescue UnsatisfiedRequirements => e
|
||||||
|
Homebrew.failed = true
|
||||||
onoe "#{f}: #{e}"
|
onoe "#{f}: #{e}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user