ryantimwilson / rpms / systemd

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