aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/fetch.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 986c6e39c..87c2b5d56 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -35,6 +35,7 @@ module Homebrew extend self
begin
f.verify_download_integrity the_tarball
rescue ChecksumMismatchError => e
+ Homebrew.failed = true
opoo "Formula reports different #{e.hash_type}: #{e.expected}"
end
end