summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index f19b8acc2..0319a6575 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -203,7 +203,7 @@ sub doPartitionDisksAfter {
#- We skipped the setupSCSI step, so $o->{fstab} will be empty. We need to
#- add a fake entry, to satisfy the following check for a root partition.
my $fstab = [ fs::read_fstab('', '/proc/mounts') ];
- my $part = fs::get::mntpoint2part($::prefix, $fstab) || $fstab[0];
+ my $part = fs::get::mntpoint2part($::prefix, $fstab) || $fstab->[0];
$part->{mntpoint} = '/';
$part->{isMounted} = 1;
$o->{fstab} = [ $part ];