Commit d474309c authored by Lionel Landwerlin's avatar Lionel Landwerlin

gunixmounts: correctly flag hasmntopt usage

https://bugzilla.gnome.org/show_bug.cgi?id=697365
parent 3d03c9cb
......@@ -774,9 +774,11 @@ _g_get_unix_mount_points (void)
(strcmp (mntent->mnt_dir, "none") == 0))
continue;
#ifdef HAVE_HASMNTOPT
/* We ignore bind fstab entries, as we ignore bind mounts anyway */
if (hasmntopt (mntent, "bind"))
continue;
#endif
mount_entry = g_new0 (GUnixMountPoint, 1);
mount_entry->mount_path = g_strdup (mntent->mnt_dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment