From 9f9fced2dd4c9b7d3498d7c0c9e75b1f7b2d2b9c Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 10 Jun 2025 23:17:14 +0200 Subject: [PATCH] libstore/build/worker: clean up cgroup error messages typos It's `delegated` and not `delgated`, also it's `DelegateSubgroup` and not `DelegateSubtree` which I clearly hallucinated because of subtree vs. sub(c)group. Change-Id: Icfaa6116fa83416c431820978ef35aa8aa943feb Signed-off-by: Raito Bezarius --- lix/libstore/build/worker.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lix/libstore/build/worker.cc b/lix/libstore/build/worker.cc index abe68a103..7d40a818f 100644 --- a/lix/libstore/build/worker.cc +++ b/lix/libstore/build/worker.cc @@ -101,15 +101,15 @@ Worker::Worker(Store & store, Store & evalStore) "Running a build with cgroups requires the parent cgroup tree to be " "delegated, but only this process' cgroup is delegated.\n" "If you used systemd with `Delegate=yes`, consider moving the process in a " - "sub-cgroup or use `DelegateSubtree=` to move it automatically.\n" + "sub-cgroup or use `DelegateSubgroup=` to move it automatically.\n" "See for more information." ); } else { throw Error( "Running a build with cgroups requires the parent cgroup tree to be " - "delgated.\n" - "If you use systemd, adding `Delegate=yes` and `DelegateSubtree=supervisor` to " - "the [Unit] section will delegate the parent cgroup tree.\n" + "delegated.\n" + "If you use systemd, adding `Delegate=yes` and `DelegateSubgroup=supervisor` " + "to the [Unit] section will delegate the parent cgroup tree.\n" "See for more information." ); }