pxar/extract: fixup path stack for errors
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
1cafbdc70d
commit
0f9218079a
@ -76,7 +76,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mut match_stack = Vec::new();
|
let mut match_stack = Vec::new();
|
||||||
let mut err_path_stack = Vec::new();
|
let mut err_path_stack = vec![OsString::from("/")];
|
||||||
let mut current_match = extract_match_default;
|
let mut current_match = extract_match_default;
|
||||||
while let Some(entry) = decoder.next() {
|
while let Some(entry) = decoder.next() {
|
||||||
use pxar::EntryKind;
|
use pxar::EntryKind;
|
||||||
|
Loading…
Reference in New Issue
Block a user