aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/utility.c b/utility.c
index f3af01f44..afc0e8f8a 100644
--- a/utility.c
+++ b/utility.c
@@ -1199,9 +1199,6 @@ extern struct mntent *findMountPoint(const char *name, const char *table)
1199 return 0; 1199 return 0;
1200 1200
1201 while ((mountEntry = getmntent(mountTable)) != 0) { 1201 while ((mountEntry = getmntent(mountTable)) != 0) {
1202 if (strcmp(mountEntry->mnt_fsname, "none") == 0) {
1203 continue;
1204 }
1205 if (strcmp(name, mountEntry->mnt_dir) == 0 1202 if (strcmp(name, mountEntry->mnt_dir) == 0
1206 || strcmp(name, mountEntry->mnt_fsname) == 0) /* String match. */ 1203 || strcmp(name, mountEntry->mnt_fsname) == 0) /* String match. */
1207 break; 1204 break;