mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
core: an empty string resets delegate controllers but enables Delegate= (#8826)
This partially reverts ff1b8455c2
.
This commit is contained in:
parent
96aa6591d1
commit
d48013f8a1
@ -3418,7 +3418,8 @@ int config_parse_delegate(
|
||||
* mask to delegate. */
|
||||
|
||||
if (isempty(rvalue)) {
|
||||
c->delegate = false;
|
||||
/* An empty string resets controllers and set Delegate=yes. */
|
||||
c->delegate = true;
|
||||
c->delegate_controllers = 0;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user