src/catar/decoder.rs: dir_mkdirat - add create_new flag
This commit is contained in:
@ -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(())
|
||||
}) {
|
||||
|
Reference in New Issue
Block a user