From 908701a9a0118e798b4f0bf9b0901a91d3ba9e1e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 10 Aug 2004 10:03:17 +0000 Subject: no {pt_type} doesn't mean Empty --- perl-install/diskdrake/interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake') 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"; -- cgit v1.2.1