diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-10 10:03:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-10 10:03:17 +0000 |
commit | 908701a9a0118e798b4f0bf9b0901a91d3ba9e1e (patch) | |
tree | b90aef9646af37385bb1fed6bce4b8ab14460f74 | |
parent | 349a4916396909fdc6f95f416af175cfd94cc94b (diff) | |
download | drakx-908701a9a0118e798b4f0bf9b0901a91d3ba9e1e.tar drakx-908701a9a0118e798b4f0bf9b0901a91d3ba9e1e.tar.gz drakx-908701a9a0118e798b4f0bf9b0901a91d3ba9e1e.tar.bz2 drakx-908701a9a0118e798b4f0bf9b0901a91d3ba9e1e.tar.xz drakx-908701a9a0118e798b4f0bf9b0901a91d3ba9e1e.zip |
no {pt_type} doesn't mean Empty
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index cc5a0cd0b..148a0f1bf 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -1164,7 +1164,7 @@ sub format_part_info { $pName =~ s/[^A-Za-z0-9_]//g; $info .= N("Name: ") . $pName . "\n"; } - } elsif ($part->{pt_type}) { + } elsif ($part->{fs_type} || $part->{pt_type}) { $info .= N("Type: ") . (fs::type::part2type_name($part) || $part->{fs_type}) . ($::expert ? sprintf " (0x%x)", $part->{pt_type} : '') . "\n"; } else { $info .= N("Empty") . "\n"; |