Skip to content
Snippets Groups Projects
Commit 19039471 authored by Max Howell's avatar Max Howell
Browse files

Ignore ^C when cleaning up at exit

parent 5131475a
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ class CurlDownloadStrategy <AbstractDownloadStrategy ...@@ -44,7 +44,7 @@ class CurlDownloadStrategy <AbstractDownloadStrategy
begin begin
curl @url, '-o', @dl curl @url, '-o', @dl
rescue Exception rescue Exception
@dl.unlink if @dl.exist? ignore_interrupts { @dl.unlink if @dl.exist? }
raise raise
end end
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment