remove debug output

This commit is contained in:
Dietmar Maurer 2019-07-24 09:33:52 +02:00
parent 5be106eeae
commit 684233aa3b
2 changed files with 1 additions and 2 deletions

View File

@ -901,7 +901,7 @@ impl BackupClient {
} }
}) })
.then(move |result| { .then(move |result| {
println!("RESULT {:?}", result); //println!("RESULT {:?}", result);
upload_result.map_err(Error::from).and_then(|upload1_result| { upload_result.map_err(Error::from).and_then(|upload1_result| {
Ok(upload1_result.and(result)) Ok(upload1_result.and(result))
}) })

View File

@ -50,7 +50,6 @@ impl PxarBackupStream {
let child = thread::spawn(move|| { let child = thread::spawn(move|| {
let mut writer = unsafe { std::fs::File::from_raw_fd(tx) }; let mut writer = unsafe { std::fs::File::from_raw_fd(tx) };
if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, device_set, verbose, pxar::CA_FORMAT_DEFAULT) { if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, device_set, verbose, pxar::CA_FORMAT_DEFAULT) {
eprintln!("pxar encode failed - {}", err);
let mut error = error2.lock().unwrap(); let mut error = error2.lock().unwrap();
*error = Some(err.to_string()); *error = Some(err.to_string());
} }