]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-backup-client/src/main.rs
client: only start catalog upload if we have one
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 12 Jun 2020 08:04:59 +0000 (10:04 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 12 Jun 2020 08:38:25 +0000 (10:38 +0200)
commit5d85847f91ab1829adc91143aea12eebaa5506b9
treed61439a6540db033e8f4e56ea1dca38d79a6a18c
parent476b4acadc203a7fdce54e466f071fb538f2982b
client: only start catalog upload if we have one

else we start a dynamic writer and never close it, leading to a backup error

this fixes an issue with backing up vm templates
(and possibly vms without disks)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/bin/proxmox-backup-client.rs