shared/install: do not break loop when we enounter a dangling symlink

We should ignore that unit, but otherwise continue.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2016-10-17 02:26:55 -04:00
parent 9b914a9d6b
commit 010454b459
+1 -1
View File
@@ -1767,7 +1767,7 @@ static int install_context_mark_for_removal(
r = install_info_traverse(scope, c, paths, i, SEARCH_LOAD|SEARCH_FOLLOW_CONFIG_SYMLINKS, NULL);
if (r == -ENOLINK)
return 0;
continue;
else if (r < 0)
return r;