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
1 changed files with 1 additions and 1 deletions

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;