summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 03397d80f..13bcf8471 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -567,6 +567,7 @@ sub mount {
if (member($fs, 'smb', 'nfs') && $::isStandalone) {
system('mount', $dev, $where) == 0 or die _("mount failed");
+ return; #- do not update mtab, already done by mount(8)
} elsif (member($fs, 'ext2', 'proc', 'usbdevfs', 'iso9660', @fs_modules)) {
$dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs';
$where =~ s|/$||;