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 b656ac2f74a7a8a1017fdbca45c886bf28dad774..74094cc5149713f529a37d481f762c7b21de1111 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)) {