summaryrefslogtreecommitdiff
path: root/src/fstab-generator/fstab-generator.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-11-26 03:49:21 +0100
committerTom Gundersen <teg@jklm.no>2012-11-27 00:41:43 +0100
commita83cbaccd03c3f28e47e9330f4a22ff65ce4b561 (patch)
treec5450311c2fe593de2cbef08423401b5a5bb07cb /src/fstab-generator/fstab-generator.c
parent16e6f6130bd9b7869916ee2550236ce9a5f6de5c (diff)
fstab-generator: remove redundancy in mount_is_bind
Diffstat (limited to 'src/fstab-generator/fstab-generator.c')
-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) {