summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 9a12da97e..641d8bc9b 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -153,7 +153,7 @@ sub write_fstab {
};
my $real_mntpoint = $_->{mntpoint} || ${{ '/tmp/hdimage' => '/mnt/hd' }}{$_->{real_mntpoint}};
- mkdir("$prefix/$real_mntpoint", 0755);
+ mkdir("$prefix$real_mntpoint", 0755) if $real_mntpoint =~ m|^/|;
my $mntpoint = loopback::carryRootLoopback($_) ? '/initrd/loopfs' : $real_mntpoint;
my ($freq, $passno) =