From: Lennart Poettering Date: Wed, 27 Nov 2019 11:05:38 +0000 (+0100) Subject: core: write out correct field name when creating transient service units X-Git-Tag: v244~23^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f14bf013126ebcdc689995234cb15fc0b605a262;p=thirdparty%2Fsystemd.git core: write out correct field name when creating transient service units --- diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 13ff6f489ad..c35b4864081 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;