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:
parent
9b914a9d6b
commit
010454b459
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user