brew: allow external cmds to use Homebrew.failed.
This commit is contained in:
parent
7fe9413cf1
commit
3a5c14cea4
@ -109,7 +109,7 @@ begin
|
||||
end
|
||||
exec "brew-#{cmd}", *ARGV
|
||||
elsif require? which("brew-#{cmd}.rb").to_s
|
||||
exit 0
|
||||
exit Homebrew.failed? ? 1 : 0
|
||||
else
|
||||
onoe "Unknown command: #{cmd}"
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user