mirror of
https://github.com/systemd/systemd.git
synced 2024-12-01 06:13:38 +08:00
bus-unit-util: properly accept StandardOutput=append:… settings
This commit is contained in:
parent
1704fba92f
commit
8d33232ef1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user