]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tools/cgxget: guard systemd default delegate slice
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 22 Nov 2023 08:47:45 +0000 (14:17 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 16:21:09 +0000 (09:21 -0700)
commit106cf8ef7cd6acd93a742301669953078706dd9f
treecadfa4c4aa10a8d3f6f7485dc7338010768ceec9
parent34ad266fecfb5666961833beafd204331678e946
tools/cgxget: guard systemd default delegate slice

Guard setting default systemd delegate slice with WITH_SYSTEMD, to limit
the systemd delegation only to --enable-systemd=yes only.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 4480bf0b752affbdb0c5978e3b54c8dedf03197e)
src/tools/cgxget.c