summaryrefslogtreecommitdiff
path: root/src/journal/journald-rate-limit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-25 20:42:50 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-25 20:42:50 +0200
commit98bac6058c919071ba6b7860b925decacafdc822 (patch)
treec93cceec5cc5ad1736950dd661c8643696f681fe /src/journal/journald-rate-limit.c
parent37a0d5bf212df5b45ded449f4adaefd737df058b (diff)
core: report root cgroup as "/" over the bus
Internally, the root cgroup is stored as the empty string in Unit.cgroup_path, and "no cgroup" as NULL. Unfortunately, D-Bus does not know a NULL concept, hence when reporting the cgroup to clients we should turn the root cgroup into "/", and leave the empty string for the "no cgroup" case. This should make sure that "systemctl status -- -.slice" works correctly and shows the entire cgroup tree.
Diffstat (limited to 'src/journal/journald-rate-limit.c')
0 files changed, 0 insertions, 0 deletions