diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-15 17:29:56 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-15 18:39:26 +0200 |
commit | 624e4fcffa8c7e3c5d30c10a6b3965db6e5e0f4f (patch) | |
tree | 40bc609ed2c6f8348ab8485e6e294133781544a9 /src/core | |
parent | 107c20518bb27be438996819400773e39c47c77f (diff) | |
download | systemd-624e4fcffa8c7e3c5d30c10a6b3965db6e5e0f4f.tar.gz |
pid1: fix GetUnitProcesses
This effectively reverts one chunk of 657ee2d82b73818d0ee8c3c5962c1cb2dbd52b76.
For a while I couldn't figure out why 'systemctl status -- -.slice' fails to
list any processes...
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/dbus-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 53daa9c2ec..220b4c2372 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -1062,7 +1062,7 @@ static int append_cgroup(sd_bus_message *reply, const char *p, Set *pids) { if (r == 0) break; - j = path_join(p, g); + j = path_join(empty_to_root(p), g); if (!j) return -ENOMEM; |