diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 17:24:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-06 17:24:08 +0000 |
commit | e47d0821bfd0def11d10bb68a46a3335934f283a (patch) | |
tree | cc930329350bc518f5c9dc586d4e3f0fb1d72091 /perl-install/partition_table.pm | |
parent | 1dfe0932b061617719939a72f91fb70ac4ac23b8 (diff) | |
download | drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.gz drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.bz2 drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.xz drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.zip |
perl_checker compliance
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r-- | perl-install/partition_table.pm | 5 |
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) |