diff options
| author | Mislav Marohnić | 2011-05-21 03:41:45 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-03 21:16:02 -0700 |
| commit | 2aeea9d13578838f2d5856e722485d0137ebf554 (patch) | |
| tree | ad3c0beb2035be17437ceacabfe134ba91e5832e /Library | |
| parent | fdfcdfc82daff90d81ac695648d5c02556f83787 (diff) | |
| download | homebrew-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.rb | 1 |
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." |
