From 2a7b8f1c3734f010786ccc8f3162f464e2f28230 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 15 Jan 2003 23:23:17 +0000 Subject: adapt to install_any::find_root_parts() return value changes --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index bf8a1486c..2434d4c42 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -139,7 +139,7 @@ sub selectInstallClass { if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) { # either one root is defined (and all is ok), or we take the first one we find - my $p = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) or die; + my $p = fsedit::get_root_($o->{fstab}) || (first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) || die)->{part}; install_any::use_root_part($o->{all_hds}, $p, $o->{prefix}); } } -- cgit v1.2.1