From e42cc93582ce11f53f7336abcacff4681699384d Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Mon, 6 May 2024 14:48:40 +0200 Subject: examples/cgroup.py: use the assigned cgroup Fixes: b0874c6086f1 ("lift the dbus functionality from the cgroup example") --- examples/cgroup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/cgroup.py') diff --git a/examples/cgroup.py b/examples/cgroup.py index 28a1f7c..5fa5df6 100755 --- a/examples/cgroup.py +++ b/examples/cgroup.py @@ -45,6 +45,7 @@ def main() -> None: properties={"Delegate": True}, ), ) + mycgroup = get_cgroup() except NotImplementedError: linuxnamespaces.systemd.reexec_as_transient_unit( properties={"Delegate": True} -- cgit v1.2.3