aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-12-07 17:56:47 +0000
committerMax Howell2009-12-07 17:56:47 +0000
commit19039471c0ae20886f1ca109e364fc4ac2da678e (patch)
treef73e143da21f3595bf4db62638976d842b9c2d29 /Library
parent5131475ae192f9895cff3b1b0ccdffca963ba556 (diff)
downloadbrew-19039471c0ae20886f1ca109e364fc4ac2da678e.tar.bz2
Ignore ^C when cleaning up at exit
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
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