aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index df33b35e0..687d67421 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1111,13 +1111,16 @@ module Homebrew extend self
ARGV.named
end.select{ |method| method =~ /^check_/ }.reverse.uniq.reverse
+ first_warning = true
methods.each do |method|
out = checks.send(method)
unless out.nil? or out.empty?
lines = out.to_s.split('\n')
+ puts unless first_warning
opoo lines.shift
Homebrew.failed = true
puts lines
+ first_warning = false
end
end