1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00

core: write out correct field name when creating transient service units

This commit is contained in:
Lennart Poettering 2019-11-27 12:05:38 +01:00
parent 403e4b4728
commit f14bf01312

View File

@ -1095,7 +1095,7 @@ int bus_set_transient_exec_command(
if (!f)
return -ENOMEM;
fputs("ExecStart=\n", f);
fprintf(f, "%s=\n", name);
LIST_FOREACH(command, c, *exec_command) {
_cleanup_free_ char *a = NULL, *t = NULL, *exec_chars = NULL;