From 04b90610a3b9f7bd1a6cbb308ecdde6fd0728339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= <mislav.marohnic@gmail.com> Date: Sat, 21 May 2011 03:41:45 +0200 Subject: [PATCH] the `doctor` command exits with status "1" if there are warnings Signed-off-by: Adam Vandenberg <flangy@gmail.com> --- Library/Homebrew/cmd/doctor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 72b64cf297..7fe7332909 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." -- GitLab