chiark / gitweb /
mount: fix loop exit
authorLennart Poettering <lennart@poettering.net>
Sun, 14 Feb 2010 00:09:22 +0000 (01:09 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 14 Feb 2010 00:09:22 +0000 (01:09 +0100)
mount.c

diff --git a/mount.c b/mount.c
index b656ac2..74094cc 100644 (file)
--- 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)) {