src/catar/decoder.rs: dir_mkdirat - add create_new flag

This commit is contained in:
Dietmar Maurer
2019-03-11 07:27:45 +01:00
parent e9c9409a99
commit 656b23e107
2 changed files with 17 additions and 5 deletions

View File

@ -44,7 +44,7 @@ impl CaTarBackupWriter {
let mut decoder = CaTarDecoder::new(&mut reader);
if let Err(err) = decoder.restore_sequential(&mut path, &subdir, &dir, & |path| {
if let Err(err) = decoder.restore_sequential(&mut path, &subdir, &dir, false, & |path| {
println!("RESTORE: {:?}", path);
Ok(())
}) {