the doctor command exits with status "1" if there are warnings
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
129b80fb9b
commit
04b90610a3
@ -744,6 +744,7 @@ module Homebrew extend self
|
||||
|
||||
unless (warnings = output.string).chomp.empty?
|
||||
puts warnings
|
||||
exit 1
|
||||
else
|
||||
puts "Your OS X is ripe for brewing."
|
||||
puts "Any troubles you may be experiencing are likely purely psychosomatic."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user