diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-12 05:55:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-12 05:55:58 +0100 |
commit | 29a07cdb4a317f2e1ea160b79bfe6eb1be2e6e01 (patch) | |
tree | 4002a201b4947b46fc466af2c27ddbb01ed71210 /src/core | |
parent | f8e11cda5316055c381f45bd30843c1b54cd323b (diff) |
bus: instead of exposing the dbus1 flags when acquiring a name use our own that are closer to kdbus
This turns around DO_NOT_QUEUE into QUEUE which implies a more useful
default. (And negative options are awful anyway.)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c index 580bdf3f71..df501384bd 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -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 */ - 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; |