pxar/extract: fixup path stack for errors

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2020-08-03 12:20:30 +02:00
parent 1cafbdc70d
commit 0f9218079a

View File

@ -76,7 +76,7 @@ where
}
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;
while let Some(entry) = decoder.next() {
use pxar::EntryKind;