diff --git a/proxmox-backup-client/src/mount.rs b/proxmox-backup-client/src/mount.rs index 0048a8ad..4929f5e5 100644 --- a/proxmox-backup-client/src/mount.rs +++ b/proxmox-backup-client/src/mount.rs @@ -169,8 +169,6 @@ fn mount( // Process should be daemonized. // Make sure to fork before the async runtime is instantiated to avoid troubles. let (pr, pw) = proxmox_sys::pipe()?; - let pr: OwnedFd = pr.into(); // until next sys bump - let pw: OwnedFd = pw.into(); match unsafe { fork() } { Ok(ForkResult::Parent { .. }) => { drop(pw); diff --git a/proxmox-file-restore/src/main.rs b/proxmox-file-restore/src/main.rs index bbfc6eb4..59ccbe52 100644 --- a/proxmox-file-restore/src/main.rs +++ b/proxmox-file-restore/src/main.rs @@ -479,7 +479,7 @@ async fn extract( let (archive_name, payload_archive_name) = pbs_client::tools::get_pxar_archive_names(&archive_name, &manifest)?; let (reader, archive_size) = get_remote_pxar_reader( - &archive_name.try_into()?, + &archive_name, client.clone(), &manifest, crypt_config.clone(),