systemctl: only fall back to local cgroup display if we talk to local systemd
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2021 14:47:40 +0000 (16:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2021 16:35:18 +0000 (18:35 +0200)
commit35ac0260db7b896604d156e9638ad15700083508
treeab216921bc3af262b99ad46575450455b70de9ea
parenta0dde733ac750582242d36b8814b216f30acd5e3
systemctl: only fall back to local cgroup display if we talk to local systemd

Otherwise we likely show rubbish because even in local containers we
nowadays have cgroup namespacing, hence we likely can't access the
cgroup tree from the host at the same place as inside the container.
src/systemctl/systemctl-show.c