summaryrefslogtreecommitdiff
path: root/src/core/dbus-service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-11 21:03:06 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-11 21:03:06 +0200
commit665f8316f435772ed539be5e164a85cd188f84b4 (patch)
tree91af626415503020392cb16dd1af27d66a14a60d /src/core/dbus-service.c
parent8e7076caae32a560a11c1643b53fc4f12db4a6b1 (diff)
core: when writing drop-in files, name them directly after the property we set
Mapping from "FooBar" to "foo-bar" is unnecessary and makes it hard to handle many different properties with the same code, hence, let's just not do it.
Diffstat (limited to 'src/core/dbus-service.c')
-rw-r--r--src/core/dbus-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index c2e02209be..d63ca01c4f 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -276,7 +276,7 @@ static int bus_service_set_transient_property(
}
fflush(f);
- unit_write_drop_in_private_section(UNIT(s), mode, "exec-start", buf);
+ unit_write_drop_in_private_section(UNIT(s), mode, name, buf);
}
return 1;