summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index 8260740ed..63a7d632d 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -361,7 +361,7 @@ sub get_holes($) {
my $current = $start;
$start = $_->{start} + $_->{size};
{ start => $current, size => $_->{start} - $current }
- } sort { $a->{start} <=> $b->{start} } get_normal_parts($hd), { start => $hd->{totalsectors}, size => 0 };
+ } sort { $a->{start} <=> $b->{start} } grep { !isWholedisk($_) } get_normal_parts($hd), { start => $hd->{totalsectors}, size => 0 };
}