diff options
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |