aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/tools.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luarocks/fs/tools.lua b/src/luarocks/fs/tools.lua
index de216353..8419f7d3 100644
--- a/src/luarocks/fs/tools.lua
+++ b/src/luarocks/fs/tools.lua
@@ -129,6 +129,7 @@ function tools.use_downloader(url, filename, cache)
129 if ok then 129 if ok then
130 return true, filename 130 return true, filename
131 else 131 else
132 os.remove(filename)
132 return false 133 return false
133 end 134 end
134end 135end