aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-03-15 10:57:34 +1300
committerMike McQuaid2012-03-29 18:44:37 +1100
commit0cbdeeaa3c02c3e46e75e8b6e0a3333f78639d5a (patch)
tree24a095d4b06d9d8aaafd93e100b283b1b1cd1a52 /Library/Homebrew/cmd/audit.rb
parent61444ee3a60234c4bae9565ccd1ff5dd17bdad51 (diff)
downloadbrew-0cbdeeaa3c02c3e46e75e8b6e0a3333f78639d5a.tar.bz2
Exit with bad exit code on command failures.
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 8c604ba56..84054925c 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -420,7 +420,7 @@ module Homebrew extend self
if errors
puts "#{problem_count} problems in #{brew_count} brews"
- exit 1
+ Homebrew.failed = true
end
end
end