mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
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;
|
||||
} else {
|
||||
// Strangely enough, nfsmount() doesn't actually mount() anything.
|
||||
mp->mnt_type = "nfs";
|
||||
rc = mount_it_now(mp, vfsflags, filteropts);
|
||||
if (ENABLE_FEATURE_CLEAN_UP) free(filteropts);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user