From 98a4be8ec81d7865a4655fc322b52e866e1c64a2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 8 Aug 2004 07:09:53 +0000 Subject: don't set toFormat if we don't have a {fs_type} (eg: pt_type 0xfd, ie raw raid) --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 32b12a0c6..235bc8753 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -262,7 +262,7 @@ sub choosePartitionsToFormat($$) { $_->{mntpoint} = "swap" if isSwap($_); $_->{mntpoint} or next; - add2hash_($_, { toFormat => $_->{notFormatted} }); + add2hash_($_, { toFormat => $_->{notFormatted} }) if $_->{fs_type}; #- eg: don't set toFormat for isRawRAID (0xfd) $_->{$::recovery ? 'toFormat' : 'toFormatUnsure'} ||= member($_->{mntpoint}, '/', '/usr'); if (!$_->{toFormat}) { -- cgit v1.2.1