From f14bf013126ebcdc689995234cb15fc0b605a262 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Nov 2019 12:05:38 +0100 Subject: [PATCH] core: write out correct field name when creating transient service units --- src/core/dbus-execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3