diff options
| author | Max Howell | 2009-12-07 17:56:47 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-07 17:56:47 +0000 |
| commit | 19039471c0ae20886f1ca109e364fc4ac2da678e (patch) | |
| tree | f73e143da21f3595bf4db62638976d842b9c2d29 | |
| parent | 5131475ae192f9895cff3b1b0ccdffca963ba556 (diff) | |
| download | brew-19039471c0ae20886f1ca109e364fc4ac2da678e.tar.bz2 | |
Ignore ^C when cleaning up at exit
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 579968e85..a319416bf 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -44,7 +44,7 @@ class CurlDownloadStrategy <AbstractDownloadStrategy begin curl @url, '-o', @dl rescue Exception - @dl.unlink if @dl.exist? + ignore_interrupts { @dl.unlink if @dl.exist? } raise end else |
