Unbreak -o fstab and -o current in combination with -a

MFC after:	2 weeks
This commit is contained in:
Guido van Rooij 2004-01-29 13:16:51 +00:00
parent 9a44a82b61
commit 13cbdf24e5

View File

@ -210,6 +210,8 @@ main(argc, argv)
if (!(init_flags & MNT_UPDATE) && if (!(init_flags & MNT_UPDATE) &&
ismounted(fs, mntbuf, mntsize)) ismounted(fs, mntbuf, mntsize))
continue; continue;
options = update_options(options, fs->fs_mntops,
mntbuf->f_flags);
if (mountfs(fs->fs_vfstype, fs->fs_spec, if (mountfs(fs->fs_vfstype, fs->fs_spec,
fs->fs_file, init_flags, options, fs->fs_file, init_flags, options,
fs->fs_mntops)) fs->fs_mntops))