fix: remove the temporary extraction directory forcefully

This commit is contained in:
sxyazi 2025-03-08 13:49:38 +08:00
parent ece635d6b8
commit 15cc51c3dc
No known key found for this signature in database

View file

@ -57,7 +57,7 @@ function M:try_with(from, pwd, to)
local output, err = child:wait_with_output()
if output and output.status.code == 2 and archive.is_encrypted(output.stderr) then
fs.remove("dir_clean", tmp)
fs.remove("dir_all", tmp)
return true -- Need to retry
end