chiark / gitweb /
fstab-generator: remove redundancy in mount_is_bind
[elogind.git] / src / fstab-generator / fstab-generator.c
index 62053b7f353928a19fb38e92c8ba664817027021..bb4dd97b690f55c423b2a32845bbffb84941ba72 100644 (file)
@@ -194,9 +194,7 @@ finish:
 static bool mount_is_bind(struct mntent *me) {
         assert(me);
 
-        return
-                hasmntopt(me, "bind") ||
-                streq(me->mnt_opts, "bind");
+        return hasmntopt(me, "bind");
 }
 
 static bool mount_is_network(struct mntent *me) {