summaryrefslogtreecommitdiff
path: root/src/fstab-generator
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstab-generator')
-rw-r--r--src/fstab-generator/fstab-generator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 62053b7f35..bb4dd97b69 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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) {