]> git.proxmox.com Git - pve-container.git/commitdiff
fixup error message
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 19:59:50 +0000 (21:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 19:59:50 +0000 (21:59 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm

index 1b0c7c32c1024f5d8984dc51af370aa1fa10173d..a8d925126934dda42981e9388a2ae96dc189fde2 100644 (file)
@@ -1660,7 +1660,7 @@ __PACKAGE__->register_method({
 
            my $size = PVE::Storage::volume_size_info($storage_cfg, $volid, 5);
 
-           die "Size of volume $volid couldn't be determined\n" if (!defined($size));
+           die "Could not determine current size of volume '$volid'\n" if !defined($size);
 
            $newsize += $size if $ext;
            $newsize = int($newsize);