projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b914a9
)
shared/install: do not break loop when we enounter a dangling symlink
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 17 Oct 2016 01:20:08 +0000
(21:20 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Mon, 17 Oct 2016 06:26:55 +0000
(
02:26
-0400)
We should ignore that unit, but otherwise continue.
src/shared/install.c
patch
|
blob
|
history
diff --git
a/src/shared/install.c
b/src/shared/install.c
index 60a6d1312d3f68d3126202961c132516b2d81d8d..bcb169e7dfaed2ff019750ff90634398dc54f87e 100644
(file)
--- 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;