chiark / gitweb /
fstab-generator: properly detect bind mounts
authorLennart Poettering <lennart@poettering.net>
Mon, 24 Dec 2012 12:01:00 +0000 (13:01 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Dec 2012 12:01:00 +0000 (13:01 +0100)
commitf9ea108e7c3544c03822277a1112a48dc62f6ed4
tree4d2e10db307ad96a2ac141e04eafe32443f20e72
parent95b4be171988fc2ea33377b1b4450e5d410add7b
fstab-generator: properly detect bind mounts

This kinda undoes a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 and
1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a but corrects the original code
to compare the mount type with "bind" rather than the mount options.
src/fstab-generator/fstab-generator.c