ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
b7dd4d
From b06347d1e85c98507ba386b24e6c7159edf4784f Mon Sep 17 00:00:00 2001
b7dd4d
From: Lennart Poettering <lennart@poettering.net>
b7dd4d
Date: Mon, 26 Nov 2018 21:07:39 +0100
b7dd4d
Subject: [PATCH] =?UTF-8?q?bus-unit-util:=20properly=20accept=20StandardOu?=
b7dd4d
 =?UTF-8?q?tput=3Dappend:=E2=80=A6=20settings?=
b7dd4d
MIME-Version: 1.0
b7dd4d
Content-Type: text/plain; charset=UTF-8
b7dd4d
Content-Transfer-Encoding: 8bit
b7dd4d
b7dd4d
(cherry picked from commit 8d33232ef1ad051b5ed00bd7b5fffb5a19bb83ae)
b7dd4d
b7dd4d
Resolves: #2093479
b7dd4d
---
b7dd4d
 src/shared/bus-unit-util.c | 4 +++-
b7dd4d
 1 file changed, 3 insertions(+), 1 deletion(-)
b7dd4d
b7dd4d
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
b7dd4d
index 9010448aaf..3910dfa812 100644
b7dd4d
--- a/src/shared/bus-unit-util.c
b7dd4d
+++ b/src/shared/bus-unit-util.c
b7dd4d
@@ -894,9 +894,11 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con
b7dd4d
                 } else if ((n = startswith(eq, "file:"))) {
b7dd4d
                         appended = strjoina(field, "File");
b7dd4d
                         r = sd_bus_message_append(m, "(sv)", appended, "s", n);
b7dd4d
+                } else if ((n = startswith(eq, "append:"))) {
b7dd4d
+                        appended = strjoina(field, "FileToAppend");
b7dd4d
+                        r = sd_bus_message_append(m, "(sv)", appended, "s", n);
b7dd4d
                 } else
b7dd4d
                         r = sd_bus_message_append(m, "(sv)", field, "s", eq);
b7dd4d
-
b7dd4d
                 if (r < 0)
b7dd4d
                         return bus_log_create_error(r);
b7dd4d