mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: remove the temporary extraction directory forcefully (#2458)
This commit is contained in:
parent
ece635d6b8
commit
31177fd1fd
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ function M:try_with(from, pwd, to)
|
||||||
|
|
||||||
local output, err = child:wait_with_output()
|
local output, err = child:wait_with_output()
|
||||||
if output and output.status.code == 2 and archive.is_encrypted(output.stderr) then
|
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
|
return true -- Need to retry
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue