merge post-1.3.0 fixes
This commit is contained in:
@@ -1708,10 +1708,13 @@ int mount_main(int argc, char **argv)
|
||||
|
||||
// Mount this thing.
|
||||
|
||||
// NFS mounts want this to be xrealloc-able
|
||||
mtcur->mnt_opts = xstrdup(mtcur->mnt_opts);
|
||||
if (singlemount(mtcur, 1)) {
|
||||
/* Count number of failed mounts */
|
||||
rc++;
|
||||
}
|
||||
free(mtcur->mnt_opts);
|
||||
}
|
||||
}
|
||||
if (ENABLE_FEATURE_CLEAN_UP) endmntent(fstab);
|
||||
|
||||
Reference in New Issue
Block a user