fix: remove the temporary extraction directory forcefully (#2458)

This commit is contained in:
三咲雅 · Misaki Masa 2025-03-08 13:52:29 +08:00 committed by sxyazi
parent ece635d6b8
commit 31177fd1fd
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