From 684233aa3baeb10fe39315168254a20fd85b3f93 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 24 Jul 2019 09:33:52 +0200 Subject: [PATCH] remove debug output --- src/client/http_client.rs | 2 +- src/client/pxar_backup_stream.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/http_client.rs b/src/client/http_client.rs index d1cef676..22cdd431 100644 --- a/src/client/http_client.rs +++ b/src/client/http_client.rs @@ -901,7 +901,7 @@ impl BackupClient { } }) .then(move |result| { - println!("RESULT {:?}", result); + //println!("RESULT {:?}", result); upload_result.map_err(Error::from).and_then(|upload1_result| { Ok(upload1_result.and(result)) }) diff --git a/src/client/pxar_backup_stream.rs b/src/client/pxar_backup_stream.rs index 20228369..7c739aa0 100644 --- a/src/client/pxar_backup_stream.rs +++ b/src/client/pxar_backup_stream.rs @@ -50,7 +50,6 @@ impl PxarBackupStream { let child = thread::spawn(move|| { 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) { - eprintln!("pxar encode failed - {}", err); let mut error = error2.lock().unwrap(); *error = Some(err.to_string()); }