From: Lennart Poettering Date: Sun, 14 Feb 2010 00:09:22 +0000 (+0100) Subject: mount: fix loop exit X-Git-Tag: v1~692 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=79ef004b0c39e151c8a875f2415a0123808c2a07;p=elogind.git mount: fix loop exit --- diff --git a/mount.c b/mount.c index b656ac2f7..74094cc51 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)) {