diff options
| author | Mislav Marohnić | 2011-05-21 03:41:45 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-03 21:16:02 -0700 |
| commit | 04b90610a3b9f7bd1a6cbb308ecdde6fd0728339 (patch) | |
| tree | aeb912d8a2915f59c8a9fde38ac27e7e92c9af46 /Library | |
| parent | 129b80fb9b5eac7f644e1e73e55bcb1fb31ffca0 (diff) | |
| download | brew-04b90610a3b9f7bd1a6cbb308ecdde6fd0728339.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." |
