summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps.pm')
-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 150657724..dbf575e01 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -203,7 +203,7 @@ sub doPartitionDisksAfter {
if ($::local_install) {
my $p = fs::get::mntpoint2part($::prefix, [ fs::read_fstab('', '/proc/mounts') ]);
- my $part = fs::get::device2part($p->{device}, $o->{fstab});
+ my $part = fs::get::device2part($p->{device}, $o->{fstab}) || $o->{fstab}[0];
$part->{mntpoint} = '/';
$part->{isMounted} = 1;
}