diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-16 21:20:08 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-17 02:26:55 -0400 |
commit | 010454b459ef59bab2f9ddd994e4f50491ced371 (patch) | |
tree | 952589fc8f5d58d2c3d892b2421e11d82815164d /src | |
parent | 9b914a9d6b8279eecbf2c30f97e7aa6b21f03f5d (diff) |
shared/install: do not break loop when we enounter a dangling symlink
We should ignore that unit, but otherwise continue.
Diffstat (limited to 'src')
-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; |