From: Lennart Poettering Date: Mon, 26 Nov 2018 20:07:39 +0000 (+0100) Subject: bus-unit-util: properly accept StandardOutput=append:… settings X-Git-Tag: v240~204^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d33232ef1ad051b5ed00bd7b5fffb5a19bb83ae;p=thirdparty%2Fsystemd.git bus-unit-util: properly accept StandardOutput=append:… settings --- diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 0141c131f68..0c65f752519 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -873,9 +873,11 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con } else if ((n = startswith(eq, "file:"))) { appended = strjoina(field, "File"); r = sd_bus_message_append(m, "(sv)", appended, "s", n); + } else if ((n = startswith(eq, "append:"))) { + appended = strjoina(field, "FileToAppend"); + r = sd_bus_message_append(m, "(sv)", appended, "s", n); } else r = sd_bus_message_append(m, "(sv)", field, "s", eq); - if (r < 0) return bus_log_create_error(r);