summaryrefslogtreecommitdiff
path: root/src/hostname/hostnamed.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-12 20:26:48 +0100
committerKay Sievers <kay@vrfy.org>2013-12-12 20:27:23 +0100
commit5bb658a1784a0fd4f0f32adb4b1fb636ff503f7d (patch)
tree0fe5c18cda562b1d521b49338b5647d1a2b4f000 /src/hostname/hostnamed.c
parent07442efff8d14ab18b0bc55ceba62b26aa055318 (diff)
bus: remove explicit activator-specific flags, the kdbus supports it now
Diffstat (limited to 'src/hostname/hostnamed.c')
-rw-r--r--src/hostname/hostnamed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index 36845c4972..3f08d1c0ec 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -574,7 +574,7 @@ static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) {
return r;
}
- r = sd_bus_request_name(bus, "org.freedesktop.hostname1", SD_BUS_NAME_REPLACE_EXISTING);
+ r = sd_bus_request_name(bus, "org.freedesktop.hostname1", 0);
if (r < 0) {
log_error("Failed to register name: %s", strerror(-r));
return r;