From 665f8316f435772ed539be5e164a85cd188f84b4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Jul 2013 21:03:06 +0200 Subject: 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. --- src/core/dbus-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dbus-service.c') 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; -- cgit v1.2.3-54-g00ecf