summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-03-14 12:27:37 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-03-14 12:27:51 +0100
commit449172f943acadc7fd1e2293a615c7cb0d87fcd6 (patch)
tree29d608ee9422213d88beac95b1e782ad8e4ee356 /src/core/load-fragment.c
parent3a36d19938c1dcc10bb11ff5d2f3e2e7eec26997 (diff)
downloadsystemd-449172f943acadc7fd1e2293a615c7cb0d87fcd6.tar.gz
man: document "Delegate=" a bit more
This case is a bit surprising, even if logical if one understands how the parser works. Let's be more explicit. Follow-up for 7b3693e4e4c9cae50fca65136278a62fae11327e.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index fa2f15c2f4..57ff2a79f3 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -3978,12 +3978,12 @@ int config_parse_delegate(
return 0;
}
- /* We either accept a boolean value, which may be used to turn on delegation for all controllers, or turn it
- * off for all. Or it takes a list of controller names, in which case we add the specified controllers to the
- * mask to delegate. */
+ /* We either accept a boolean value, which may be used to turn on delegation for all controllers, or
+ * turn it off for all. Or it takes a list of controller names, in which case we add the specified
+ * controllers to the mask to delegate. Delegate= enables delegation without any controllers. */
if (isempty(rvalue)) {
- /* An empty string resets controllers and set Delegate=yes. */
+ /* An empty string resets controllers and sets Delegate=yes. */
c->delegate = true;
c->delegate_controllers = 0;
return 0;