chiark / gitweb /
bus: instead of exposing the dbus1 flags when acquiring a name use our own that are...
[elogind.git] / src / core / dbus.c
index 580bdf3f71ca811c8ae0228d138d05822d2ff7ed..df501384bd0c8390b5c7ac1561d3cd45c5b054a7 100644 (file)
@@ -801,7 +801,7 @@ static int bus_setup_api(Manager *m, sd_bus *bus) {
          * after the new connection is set up and the name installed
          * to allow clients to synchronously wait for reexecution to
          * finish */
          * after the new connection is set up and the name installed
          * to allow clients to synchronously wait for reexecution to
          * finish */
-        r = sd_bus_request_name(bus,"org.freedesktop.systemd1", SD_BUS_NAME_REPLACE_EXISTING|SD_BUS_NAME_DO_NOT_QUEUE|SD_BUS_NAME_ALLOW_REPLACEMENT);
+        r = sd_bus_request_name(bus,"org.freedesktop.systemd1", SD_BUS_NAME_REPLACE_EXISTING|SD_BUS_NAME_ALLOW_REPLACEMENT);
         if (r < 0) {
                 log_error("Failed to register name: %s", strerror(-r));
                 return r;
         if (r < 0) {
                 log_error("Failed to register name: %s", strerror(-r));
                 return r;