1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-13 13:17:43 +03:00

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-16 21:20:08 -04:00
parent 9b914a9d6b
commit 010454b459

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;