diff -Nurp old/partition.pl.in new/partition.pl.in --- old/partition.pl.in 2004-11-05 18:03:26.000000000 +0100 +++ new/partition.pl.in 2006-10-22 20:48:52.000000000 +0200 @@ -575,7 +575,7 @@ sub get_fdisk } if ($prev_end ne 0) { - if ($partition->{'start'} - 1 ne $prev_end) { + if (($partition->{'start'} - 1 ne $prev_end) && ($partition->{'start'} ne $prev_end)) { # There is no partition, free space found my $fstart = $prev_end + 1; my $fend;