opscode-cookbooks/homebrew — pull request #5 by bleything (2012-08-02 16:02:01+00:00)
Title: fix how we check whether a command failed

I can't say for sure, but I believe that accepting an exit status of 1 as success is an artifact of this code's extraction from the macports provider. Certainly in its current form chef will happily chug along after a formula fails to install. This commit fixes that.