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:
parent
403e4b4728
commit
f14bf01312
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user