summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-06 10:46:21 +0100
committerGitHub <noreply@github.com>2020-02-06 10:46:21 +0100
commit5650ec7a11beb18390f4db081128eb3756abf064 (patch)
tree703ffd2251093fb40e21acffb5cc125c9606ef77 /src/core
parent1acf344dfa28a4941083b699ed65da65ee3b40e8 (diff)
parent972f3176fa3606cfe50f469814225f73d475733f (diff)
downloadsystemd-5650ec7a11beb18390f4db081128eb3756abf064.tar.gz
Merge pull request #14156 from fbuihuu/deal-with-aliases-when-disabling
Consider aliases in /usr when disabling units
Diffstat (limited to 'src/core')
-rw-r--r--src/core/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 279619f039..35627b3511 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -5388,7 +5388,7 @@ static void unit_update_dependency_mask(Unit *u, UnitDependency d, Unit *other,
if (di.origin_mask == 0 && di.destination_mask == 0) {
/* No bit set anymore, let's drop the whole entry */
assert_se(hashmap_remove(u->dependencies[d], other));
- log_unit_debug(u, "%s lost dependency %s=%s", u->id, unit_dependency_to_string(d), other->id);
+ log_unit_debug(u, "lost dependency %s=%s", unit_dependency_to_string(d), other->id);
} else
/* Mask was reduced, let's update the entry */
assert_se(hashmap_update(u->dependencies[d], other, di.data) == 0);