aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lpm.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index e1c751a..23747a7 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -469,6 +469,7 @@ function common.copy(src, dst, hidden)
dst_io:write(chunk)
end
dst_io:close()
+ src_io:close()
system.chmod(dst, src_stat.mode)
end
end