From 5d84b8b96d48ecfb62c8d3b665b4cb6d1db8ea2f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Sep 2001 13:38:30 +0000 Subject: (mount): do not hand update /etc/mtab for nfs mounts, already done by mount(8) --- perl-install/fs.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/fs.pm') 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|/$||; -- cgit v1.2.1