From b5eff97d665ac0ac9614612c0deccf00f717282e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 27 Nov 2019 13:48:59 +0100 Subject: [PATCH] pvesm import: make error messages consistent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- PVE/Storage/Plugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 963c391..d0f1df6 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -1116,7 +1116,7 @@ sub read_common_header($) { sysread($fh, my $size, 8); $size = unpack('Q<', $size); die "import: no size found in export header, aborting.\n" if !defined($size); - die "got a bad size (not a multiple of 1K)\n" if ($size&1023); + die "import: got a bad size (not a multiple of 1K), aborting.\n" if ($size&1023); # Size is in bytes! return $size; }