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 <d.whyte@proxmox.com>
This commit is contained in:
parent
02939e178d
commit
871181d984
|
@ -141,7 +141,7 @@ async fn mount_do(param: Value, pipe: Option<RawFd>) -> Result<Value, Error> {
|
|||
|
||||
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?;
|
||||
|
|
Loading…
Reference in New Issue