chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d680ae
)
core: fix bus registration on daemon reexec
author
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Dec 2013 04:23:22 +0000
(
05:23
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Dec 2013 04:40:04 +0000
(
05:40
+0100)
src/core/dbus.c
patch
|
blob
|
history
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index 25d83a69426785e7530f78942cbbc7c14523ed33..580bdf3f71ca811c8ae0228d138d05822d2ff7ed 100644
(file)
--- 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);
+ 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
);
if (r < 0) {
log_error("Failed to register name: %s", strerror(-r));
return r;