]> git.proxmox.com Git - pve-manager.git/commit - PVE/VZDump.pm
vzdump: fix error format for errors coming from storage_info
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 21 Dec 2020 13:48:18 +0000 (14:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Dec 2020 14:29:02 +0000 (15:29 +0100)
commit5a9b791b47de6d8da204e4e419cdb4359e028e56
treeb6f1d410f037a496d31a113f104c80f066810fff
parent213e0eb26336ca0920b7d598617f9f0d1f404b21
vzdump: fix error format for errors coming from storage_info

Errors from storage_info() are newline-terminated, because perl would append
the line number otherwise. Chomp those errors, because sendmail() relies
on the presence of a newline to decide if it's multiple problems or only one.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/VZDump.pm