chiark / gitweb /
core: simplify drop-in writing logic a bit
[elogind.git] / src / core / dbus-service.c
index d63ca01c4fdacce387112880bc8a8480d857b420..8b157b5f3cfac7e6215f8e6cac6f3dd90010c290 100644 (file)
@@ -276,7 +276,7 @@ static int bus_service_set_transient_property(
                         }
 
                         fflush(f);
-                        unit_write_drop_in_private_section(UNIT(s), mode, name, buf);
+                        unit_write_drop_in_private(UNIT(s), mode, name, buf);
                 }
 
                 return 1;