diff options
| author | Max Howell | 2009-09-05 20:46:07 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-05 20:46:07 +0100 |
| commit | 680e2019233c8ed17a62ce2cb2d8308b3593d977 (patch) | |
| tree | 2a2560f907f971cfe29f3ac70f92133eb0bf33dc /bin | |
| parent | 64e767155a8322d051ea7ff57a5bedf1f237ae2e (diff) | |
| download | brew-680e2019233c8ed17a62ce2cb2d8308b3593d977.tar.bz2 | |
Fix double newline after Interrupt
Seems to be an issue with Ruby system() call doing a double fork.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -210,7 +210,10 @@ rescue UsageError rescue SystemExit ohai "Kernel.exit" if ARGV.verbose? rescue Interrupt => e - puts # seemingly a newline is typical + # puts # seemingly a newline is typical + # Above is now commented out because the system() call forks and then forks + # again, so there are two of "us" so we get two exceptions raising and thus + # two newlines, which buggers up the shell. FIXME! exit 130 rescue SystemCallError, RuntimeError => e if ARGV.debug? |
