diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb index 9586188692..7ec65439db 100644 --- a/Library/Homebrew/os/mac/mach.rb +++ b/Library/Homebrew/os/mac/mach.rb @@ -43,10 +43,8 @@ module MachOShim [] rescue # ... but complain about other (parse) errors for further investigation. - if ARGV.homebrew_developer? - onoe "Failed to read Mach-O binary: #{self}" - raise - end + onoe "Failed to read Mach-O binary: #{self}" + raise if ARGV.homebrew_developer? [] end end