remove debug output
This commit is contained in:
parent
5be106eeae
commit
684233aa3b
|
@ -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))
|
||||||
})
|
})
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue