daandemeyer / rpms / systemd

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