projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1704fba
)
bus-unit-util: properly accept StandardOutput=append:… settings
author
Lennart Poettering
<lennart@poettering.net>
Mon, 26 Nov 2018 20:07:39 +0000
(21:07 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 27 Nov 2018 09:06:51 +0000
(10:06 +0100)
src/shared/bus-unit-util.c
patch
|
blob
|
history
diff --git
a/src/shared/bus-unit-util.c
b/src/shared/bus-unit-util.c
index 0141c131f683f6376b97cd22b984c03983cbb966..0c65f752519fff55880f0866a0ce9626b83765ad 100644
(file)
--- 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);