aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 838ac268f..fac083564 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -312,6 +312,9 @@ module Homebrew extend self
def audit
errors = false
+ brew_count = 0
+ problem_count = 0
+
ff.each do |f|
problems = []
@@ -353,9 +356,14 @@ module Homebrew extend self
puts "#{f.name}:"
puts problems * "\n"
puts
+ brew_count += 1
+ problem_count += problems.size
end
end
- exit 1 if errors
+ if errors
+ puts "#{problem_count} problems in #{brew_count} brews"
+ exit 1
+ end
end
end