]> git.proxmox.com Git - qemu-server.git/commit - PVE/VZDump/QemuServer.pm
vzdump: fix template backup to stdout
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 May 2020 09:56:33 +0000 (11:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 May 2020 12:23:04 +0000 (14:23 +0200)
commit6bb12239cc7686a883e069508035194e3645ee41
treef51498f487a6dc4ed3b06f823eb550d94cb5f052
parentb57d4863e2165aab83d94b8c897379900bc9d07e
vzdump: fix template backup to stdout

redirecting to the saved STDOUT in case of a template backup or a VM
without any disks failed because of the erroneous '=':

Backup of VM 123123 failed - command '/usr/bin/vma create -v -c [...]' failed:
Bad filehandle: =5 at /usr/share/perl/5.28/IPC/Open3.pm line 58.

https://forum.proxmox.com/threads/vzdump-to-stdout.69364

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/VZDump/QemuServer.pm