Skip to content
Snippets Groups Projects
Commit a22e60ee authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew-fetch: Return error code on unmatched hash.

parent 50fa0180
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment