1
0
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:
Yu Watanabe 2018-04-26 22:40:45 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 96aa6591d1
commit d48013f8a1

View File

@ -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;
}