aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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