From 871181d9845e76fa4ae06115b720d32f76543fe5 Mon Sep 17 00:00:00 2001 From: Dylan Whyte Date: Tue, 8 Sep 2020 15:33:54 +0200 Subject: [PATCH] mount: fix mount subcommand fixes the error, "manifest does not contain file 'X.pxar'", that occurs when trying to mount a pxar archive with 'proxmox-backup-client mount': Signed-off-by: Dylan Whyte --- src/bin/proxmox_backup_client/mount.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/proxmox_backup_client/mount.rs b/src/bin/proxmox_backup_client/mount.rs index 7646e98c..24224499 100644 --- a/src/bin/proxmox_backup_client/mount.rs +++ b/src/bin/proxmox_backup_client/mount.rs @@ -141,7 +141,7 @@ async fn mount_do(param: Value, pipe: Option) -> Result { let (manifest, _) = client.download_manifest().await?; - let file_info = manifest.lookup_file_info(&archive_name)?; + let file_info = manifest.lookup_file_info(&server_archive_name)?; if server_archive_name.ends_with(".didx") { let index = client.download_dynamic_index(&manifest, &server_archive_name).await?;