From 04b90610a3b9f7bd1a6cbb308ecdde6fd0728339 Mon Sep 17 00:00:00 2001 From: Mislav Marohnić Date: Sat, 21 May 2011 03:41:45 +0200 Subject: the `doctor` command exits with status "1" if there are warnings Signed-off-by: Adam Vandenberg --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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." -- cgit v1.2.3