src/catar/encoder.rs: log skipped mount points

This commit is contained in:
Dietmar Maurer 2019-03-08 09:25:00 +01:00
parent 6b64d25d64
commit 65092b1e27

View File

@ -291,6 +291,8 @@ impl <'a, W: Write> CaTarEncoder<'a, W> {
name_list.push(filename);
}
} else {
eprintln!("skip mount point: {:?}", self.current_path);
}
name_list.sort_unstable_by(|a, b| a.cmp(&b));
@ -431,6 +433,7 @@ impl <'a, W: Write> CaTarEncoder<'a, W> {
}
if !include_payload {
eprintln!("skip content: {:?}", self.current_path);
self.write_header(CA_FORMAT_PAYLOAD, 0)?;
return Ok(());
}