diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-11-27 12:05:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-11-27 12:23:00 +0100 |
commit | f14bf013126ebcdc689995234cb15fc0b605a262 (patch) | |
tree | f1ae6e799df89555c8a2cfe784f497b9bed84480 /src/core/dbus-execute.c | |
parent | Merge pull request #14160 from mwilck/fix-shutdown-hang (diff) | |
download | systemd-f14bf013126ebcdc689995234cb15fc0b605a262.tar.xz systemd-f14bf013126ebcdc689995234cb15fc0b605a262.zip |
core: write out correct field name when creating transient service units
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r-- | src/core/dbus-execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 13ff6f489a..c35b486408 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -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; |