* utils/rquotad/rquota_server.c (getquotainfo): Skip bad
mounting poins in /etc/fstab.
+2000-05-01 H.J. Lu <hjl@lucon.org>
+
+ * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
+ mounting poins in /etc/fstab.
+
2000-05-01 H.J. Lu <hjl@lucon.org>
* configure.in (VERSION): Set to "0.1.7.2".
fp = setmntent(MNTTAB, "r");
while ((mnt = getmntent(fp)) != (struct mntent *)0) {
- if (stat(mnt->mnt_dir, &stm) == -1
- || stat(pathname, &stn) == -1)
+ if (stat(mnt->mnt_dir, &stm) == -1)
+ continue;
+
+ if (stat(pathname, &stn) == -1)
break;
else if (stm.st_dev != stn.st_dev)
continue;