From d48013f8a196b206b45ab9c63631f2a56aa5ece9 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 26 Apr 2018 22:40:45 +0900 Subject: [PATCH] core: an empty string resets delegate controllers but enables Delegate= (#8826) This partially reverts ff1b8455c26b560641d476b426209e297209333a. --- src/core/load-fragment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index c0b1fbe5257..9699421cf14 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -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; }