]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage/Plugin.pm
pvesm import: improve handling of interrupted export
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 27 Nov 2019 12:48:58 +0000 (13:48 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Nov 2019 13:36:19 +0000 (14:36 +0100)
commitf105c1766e06d5aed120c293496e4e861f7bb7f6
tree20fc09d9db2e24c1293977b523b1033fadbb983c
parent97cf933fe5bfd7b2185853a00779f1aa7e5630f8
pvesm import: improve handling of interrupted export

since 'pvesm export' and 'pvesm import' are connected via a pipe and
SSH, a fatal error in the former can lead to no valid header being
written to the pipe. handle this more gracefully by printing an easier
to understand error message, instead of uninitialized warnings with no
context.

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