summaryrefslogtreecommitdiff
path: root/src/core/cgroup.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-08 17:43:49 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-28 13:44:38 +0900
commit4ff361cc8611459388d7f75955bfe645f894f065 (patch)
treef0fe232aee56d0517cdd0e8b86f1d497afe65f85 /src/core/cgroup.c
parent0195046449fc1cf946fe3087b7304a600453dbdd (diff)
downloadsystemd-4ff361cc8611459388d7f75955bfe645f894f065.tar.gz
tree-wide: always drop unnecessary dot in path
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r--src/core/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 5b00faa6f6..6a46e14556 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -2113,7 +2113,7 @@ static int unit_attach_pid_to_cgroup_via_bus(Unit *u, pid_t pid, const char *suf
return -EINVAL;
pp = strjoina("/", pp, suffix_path);
- path_simplify(pp, false);
+ path_simplify(pp);
r = sd_bus_call_method(u->manager->system_bus,
"org.freedesktop.systemd1",