summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-12 12:05:22 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-12 12:05:22 +0000
commit665d9ad8aa8b8a71198ef8b6cae00e94b9244391 (patch)
treeb0dda9c2bb7e22f6922a67aacc1b201050142fba /perl-install/partition_table.pm
parentff64e6601b57962132cc0be8b7f8d70b86392ac0 (diff)
downloaddrakx-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.pm2
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};
}