]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
tools/cgset: guard systemd default delegate slice
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 21 Nov 2023 08:46:47 +0000 (14:16 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 7 Dec 2023 16:21:09 +0000 (09:21 -0700)
commit34ad266fecfb5666961833beafd204331678e946
tree7f6516af6c9956c406cf96c72e32ef64e014eed7
parent36d7473b7fa61d1dda361d089f67de8dd0d72cb2
tools/cgset: 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 29dfcfb6768c5168b754bfe0471a820333802fe4)
src/tools/cgset.c