diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-17 03:20:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-17 08:26:55 +0200 |
commit | 010454b459ef59bab2f9ddd994e4f50491ced371 (patch) | |
tree | 952589fc8f5d58d2c3d892b2421e11d82815164d /src/shared/install.c | |
parent | man: mention that systemctl --root=/ operates on the fs directly (diff) | |
download | systemd-010454b459ef59bab2f9ddd994e4f50491ced371.tar.xz systemd-010454b459ef59bab2f9ddd994e4f50491ced371.zip |
shared/install: do not break loop when we enounter a dangling symlink
We should ignore that unit, but otherwise continue.
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 60a6d1312d..bcb169e7df 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -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; |