aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2009-11-11 18:51:05 +0000
committerMax Howell2009-11-11 18:56:37 +0000
commit1912cbb85f8cd2cb5f747cf6331b12de54b725dd (patch)
tree2bc1dfbfa4c4815be3a73f7203175b962795a9f2
parent394e4fd7a4a9d78be31d399725a10a13350145aa (diff)
downloadhomebrew-1912cbb85f8cd2cb5f747cf6331b12de54b725dd.tar.bz2
Re-raise SystemExit so the correct exit code is set
The reason we rescue this exception at all is because otherwise our general purpose Exception handler catches it.
-rwxr-xr-xbin/brew1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/brew b/bin/brew
index 8e2987a2f..8cce5a2bf 100755
--- a/bin/brew
+++ b/bin/brew
@@ -244,6 +244,7 @@ rescue UsageError
abort ARGV.usage
rescue SystemExit
puts "Kernel.exit" if ARGV.verbose?
+ raise
rescue Interrupt => e
puts # seemingly a newline is typical
exit 130