summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-02-14 01:09:22 +0100
committerLennart Poettering <lennart@poettering.net>2010-02-14 01:09:22 +0100
commit79ef004b0c39e151c8a875f2415a0123808c2a07 (patch)
tree736ca16feffdbc492bcf909f4c0376f5724acbb0 /mount.c
parent2c4104f00923084a0455948da3664e8e63515686 (diff)
mount: fix loop exit
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.c b/mount.c
index b656ac2f74..74094cc514 100644
--- a/mount.c
+++ b/mount.c
@@ -159,7 +159,7 @@ static int mount_add_path_links(Mount *m) {
n = (Mount*) other;
if (n == m)
- return 0;
+ continue;
if (path_startswith(m->where, n->where)) {