diff options
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm index 81ea32cf1..9b23ff709 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -423,7 +423,7 @@ sub get_normal_parts_and_holes { } sort { $a->{start} <=> $b->{start} } grep { !isWholedisk($_) } get_normal_parts($hd); push @l, { start => $start, size => $hd->{totalsectors} - $start, type => 0, rootDevice => $hd->{device} }; - grep { $_->{size} >= $hd->cylinder_size } @l; + grep { $_->{type} || $_->{size} >= $hd->cylinder_size } @l; } sub read_one($$) { |