diff options
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 7e8fcf862..8f23f1795 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -263,10 +263,9 @@ sub allocatePartitions($$) { $part = { start => $start, size => 0, maxsize => $size }, $hds, $to_add)) { add($hd, $part, $hds); + $size -= $part->{size} + $part->{start} - $start; $start = $part->{start} + $part->{size}; - $size -= $part->{size}; } - $start = $_->{start} + $_->{size}; } } } |