file-restore: fix package name for kernel/initramfs image

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2021-04-27 10:48:16 +02:00 committed by Thomas Lamprecht
parent 73cef112eb
commit 8369ade880
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ fn validate_img_existance() -> Result<(), Error> {
let kernel = PathBuf::from(buildcfg::PROXMOX_BACKUP_KERNEL_FN); let kernel = PathBuf::from(buildcfg::PROXMOX_BACKUP_KERNEL_FN);
let initramfs = PathBuf::from(buildcfg::PROXMOX_BACKUP_INITRAMFS_FN); let initramfs = PathBuf::from(buildcfg::PROXMOX_BACKUP_INITRAMFS_FN);
if !kernel.exists() || !initramfs.exists() { if !kernel.exists() || !initramfs.exists() {
bail!("cannot run file-restore VM: package 'proxmox-file-restore' is not (correctly) installed"); bail!("cannot run file-restore VM: package 'proxmox-backup-restore-image' is not (correctly) installed");
} }
Ok(()) Ok(())
} }