daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From f44296a5324dc84ff1b2a82bd1dd2d47160762b5 Mon Sep 17 00:00:00 2001
803fb7
From: Jan Synacek <jsynacek@redhat.com>
803fb7
Date: Mon, 23 May 2016 14:51:12 +0200
803fb7
Subject: [PATCH] Teach bus_append_unit_property_assignment() about 'Delegate'
803fb7
 property
803fb7
803fb7
"Cherry-picked" from ea1a971646d31b990190f473c5c7e3562f36d3c9.
803fb7
803fb7
Resolves: #1337922
803fb7
---
803fb7
 src/libsystemd/sd-bus/bus-util.c | 3 ++-
803fb7
 1 file changed, 2 insertions(+), 1 deletion(-)
803fb7
803fb7
diff --git a/src/libsystemd/sd-bus/bus-util.c b/src/libsystemd/sd-bus/bus-util.c
803fb7
index 3a918361b..9d70798cd 100644
803fb7
--- a/src/libsystemd/sd-bus/bus-util.c
803fb7
+++ b/src/libsystemd/sd-bus/bus-util.c
803fb7
@@ -1388,7 +1388,8 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
803fb7
 
803fb7
         if (STR_IN_SET(field,
803fb7
                        "CPUAccounting", "MemoryAccounting", "BlockIOAccounting",
803fb7
-                       "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies")) {
803fb7
+                       "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies",
803fb7
+                       "Delegate")) {
803fb7
 
803fb7
                 r = parse_boolean(eq);
803fb7
                 if (r < 0) {