aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 86bc270c8..a6920a336 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -172,8 +172,7 @@ def interactive_shell(f = nil)
if $?.success?
return
elsif $?.exited?
- puts "Aborting due to non-zero exit status"
- exit $?.exitstatus
+ raise "Aborted due to non-zero exit status (#{$?.exitstatus})"
else
raise $?.inspect
end