merge post-1.3.0 fixes

This commit is contained in:
Denis Vlasenko
2006-12-26 18:17:42 +00:00
parent 270c17c0e6
commit 666da5e2c6
12 changed files with 48 additions and 21 deletions

View File

@@ -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);