summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
commite47d0821bfd0def11d10bb68a46a3335934f283a (patch)
treecc930329350bc518f5c9dc586d4e3f0fb1d72091 /perl-install/partition_table.pm
parent1dfe0932b061617719939a72f91fb70ac4ac23b8 (diff)
downloaddrakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar
drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.gz
drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.bz2
drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.xz
drakx-backup-do-not-use-e47d0821bfd0def11d10bb68a46a3335934f283a.zip
perl_checker compliance
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index a4120d0bb..2d3fe168d 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -522,8 +522,9 @@ sub read {
verifyPrimary($pt);
eval {
my $need_removing_empty_extended;
- $pt->{extended} and read_extended($hd, $pt->{extended}, \$need_removing_empty_extended) || return 0;
-
+ if ($pt->{extended}) {
+ read_extended($hd, $pt->{extended}, \$need_removing_empty_extended) or return 0;
+ }
if ($need_removing_empty_extended) {
#- special case when hda5 is empty, it must be skipped
#- (windows XP generates such partition tables)