]> git.proxmox.com Git - pve-installer.git/commitdiff
add correct unit to $restricted_hdsize_mb
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 6 Mar 2016 08:13:41 +0000 (09:13 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 6 Mar 2016 08:13:41 +0000 (09:13 +0100)
proxinstall

index fb179a9dcec9479142ec96d8594be12b11735fe8..9459fbca7ef8a22ee2fa23cf22ce146bae5526ed 100755 (executable)
@@ -738,7 +738,7 @@ sub partition_bootable_disk {
     my $restricted_hdsize_mb = 0; # 0 ==> end of partition
     if ($maxhdsize && ($maxhdsize < $hdsize)) {
        $hdsize = $maxhdsize;
-       $restricted_hdsize_mb = $hdsize/1024;
+       $restricted_hdsize_mb = int($hdsize/1024) . 'M';
     }
 
     my $hdgb = int($hdsize/(1024*1024));