aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorMike McQuaid2012-03-08 00:10:34 -0800
committerMike McQuaid2012-03-09 19:16:33 +1300
commit2e63ae9f71e64abb6629797ebd11ca4becee3b98 (patch)
tree22f7d5e99d79ba2224056de228e555c080d19680 /Library/Homebrew/cmd/install.rb
parent7c2bbdfe51ced06a0f34edc397700006ec55f176 (diff)
downloadhomebrew-2e63ae9f71e64abb6629797ebd11ca4becee3b98.tar.bz2
Add better Unix exit codes.
Closes #10809.
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 bfc5d3e7b..3afddaf9c 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -87,6 +87,7 @@ module Homebrew extend self
fi.finish
rescue CannotInstallFormulaError => e
onoe e.message
+ exit 1
end
end
end