diff options
author | Tom Gundersen <teg@jklm.no> | 2012-11-26 03:49:21 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-11-27 00:41:43 +0100 |
commit | a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 (patch) | |
tree | c5450311c2fe593de2cbef08423401b5a5bb07cb /src/fstab-generator | |
parent | 16e6f6130bd9b7869916ee2550236ce9a5f6de5c (diff) |
fstab-generator: remove redundancy in mount_is_bind
Diffstat (limited to 'src/fstab-generator')
-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) { |