diff options
| author | Max Howell | 2009-11-11 18:51:05 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-11 18:56:37 +0000 |
| commit | 627034c441ccd6d38375fd94997ebf27c9282737 (patch) | |
| tree | 6d250ab73e0d46ade0d95d00c4a9633b94d2908b | |
| parent | 5e915653d7276eef7a4bb78450d452d024b02ca0 (diff) | |
| download | brew-627034c441ccd6d38375fd94997ebf27c9282737.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-x | bin/brew | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
