1
0
Fork 0

generate: container: Fix Cgroup.command formatting

--cgroup-conf was missing the seperator.

Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
Enno Tensing 2025-07-30 10:34:13 +02:00
parent 1cd43e0c95
commit 4224112c62
Signed by: tenno
GPG key ID: 95265603BD36E66C

View file

@ -104,7 +104,7 @@ class Cgroup:
cmd = ""
seperator = " \\\n"
cmd += seperator.join(
[f"\t--cgroup-conf={option}" for option in self.config]
[f"\t--cgroup-conf={option}{seperator}" for option in self.config]
)
if self.parent != "":
cmd += f"\t--cgroup-parent={self.parent}{seperator}"