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

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

No files matched your search

+1 -1
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(())
}) {