Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
This commit is contained in:
parent
e104d5fdcb
commit
19af279d16
@ -284,6 +284,7 @@ static int singlemount(struct mntent *mp)
|
|||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
// Strangely enough, nfsmount() doesn't actually mount() anything.
|
// Strangely enough, nfsmount() doesn't actually mount() anything.
|
||||||
|
mp->mnt_type = "nfs";
|
||||||
rc = mount_it_now(mp, vfsflags, filteropts);
|
rc = mount_it_now(mp, vfsflags, filteropts);
|
||||||
if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);
|
if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user