]> git.proxmox.com Git - qemu-server.git/commitdiff
Improve error message when trying to shrink a volume, fix typo
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 16 Feb 2017 09:39:35 +0000 (10:39 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 17 Feb 2017 08:09:49 +0000 (09:09 +0100)
PVE/API2/Qemu.pm

index a41e74f96321ef386cad5f8364a7753a8f980f7b..a077ed75ed318e237b6dde873d392713c58957a7 100644 (file)
@@ -3049,7 +3049,7 @@ __PACKAGE__->register_method({
            $newsize += $size if $ext;
            $newsize = int($newsize);
 
-           die "unable to skrink disk size\n" if $newsize < $size;
+           die "shrinking disks is not supported\n" if $newsize < $size;
 
            return if $size == $newsize;