diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 4 |
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) { |