dcavalca / rpms / systemd

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