diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-08-12 12:05:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-08-12 12:05:22 +0000 |
commit | 665d9ad8aa8b8a71198ef8b6cae00e94b9244391 (patch) | |
tree | b0dda9c2bb7e22f6922a67aacc1b201050142fba /perl-install/partition_table.pm | |
parent | ff64e6601b57962132cc0be8b7f8d70b86392ac0 (diff) | |
download | drakx-665d9ad8aa8b8a71198ef8b6cae00e94b9244391.tar drakx-665d9ad8aa8b8a71198ef8b6cae00e94b9244391.tar.gz drakx-665d9ad8aa8b8a71198ef8b6cae00e94b9244391.tar.bz2 drakx-665d9ad8aa8b8a71198ef8b6cae00e94b9244391.tar.xz drakx-665d9ad8aa8b8a71198ef8b6cae00e94b9244391.zip |
no_comment
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 11d29f981..a4bb4bbb8 100644 --- a/perl-install/partition_table.pm +++ b/perl-install/partition_table.pm @@ -196,7 +196,7 @@ sub adjust_main_extended($) { $l->{start} = $hd->{primary}->{extended}->{start} = $start; $l->{size} = $hd->{primary}->{extended}->{size} = $end - $start; } - unless (@{$hd->{extended}} || !$hd->{primary}->{extended}) { + unless (@{$hd->{extended} || []} || !$hd->{primary}->{extended}) { %{$hd->{primary}->{extended}} = (); # modify the raw entry delete $hd->{primary}->{extended}; } |