aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.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/install.rb
parent61444ee3a60234c4bae9565ccd1ff5dd17bdad51 (diff)
downloadbrew-0cbdeeaa3c02c3e46e75e8b6e0a3333f78639d5a.tar.bz2
Exit with bad exit code on command failures.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index e4ffe3268..ed5826da0 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -77,6 +77,7 @@ module Homebrew extend self
fi.finish
rescue CannotInstallFormulaError => e
onoe e.message
+ Homebrew.failed = true
end
end
end