From d011bfb4a676946a3c81618ec39257962e143c4e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 2 Mar 2004 15:02:10 +0000 Subject: type "ext2:vfat" must not be the same as 0 --- 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 b74ce73ce..30f16e1cc 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -427,7 +427,7 @@ sub part_possible_actions { hasMntpoint => '$part->{mntpoint}', isPrimary => 'isPrimary($part, $hd)', ); - if ($part->{type} == 0) { + if ($part->{type} eq '0') { if_(!$hd->{readonly}, N_("Create")); } else { grep { -- cgit v1.2.1