aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMislav Marohnić2011-05-21 03:41:45 +0200
committerAdam Vandenberg2011-06-03 21:16:02 -0700
commit2aeea9d13578838f2d5856e722485d0137ebf554 (patch)
treead3c0beb2035be17437ceacabfe134ba91e5832e /Library
parentfdfcdfc82daff90d81ac695648d5c02556f83787 (diff)
downloadhomebrew-2aeea9d13578838f2d5856e722485d0137ebf554.tar.bz2
the `doctor` command exits with status "1" if there are warnings
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 72b64cf29..7fe733290 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -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."