diff options
| author | Max Howell | 2009-09-05 20:46:07 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-05 20:46:07 +0100 |
| commit | 2f5bcc935a00de7188c4bbb0475fe367198cf3c7 (patch) | |
| tree | 441923fd05a1354c82fb0244bd751529dfbf8a94 /bin | |
| parent | ca9aa61815a5838fbc99bf722eb2b00ebd56d4f1 (diff) | |
| download | homebrew-2f5bcc935a00de7188c4bbb0475fe367198cf3c7.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? |
