summaryrefslogtreecommitdiff
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-12-12 06:23:38 +0100
committerKay Sievers <kay@vrfy.org>2013-12-12 06:41:23 +0100
commitd90bb66996f5e3e9b6987e60980ff721b6fc2aff (patch)
tree36f2cb82f63a022f2517f92c20120fcad9a39fcb /src/timedate/timedated.c
parent29a07cdb4a317f2e1ea160b79bfe6eb1be2e6e01 (diff)
bus: add SD_BUS_NAME_REPLACE_EXISTING to all activatable services, fix one flags conversion
Diffstat (limited to 'src/timedate/timedated.c')
-rw-r--r--src/timedate/timedated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 37173a252c..c1ceeee070 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -791,7 +791,7 @@ static int connect_bus(Context *c, sd_event *event, sd_bus **_bus) {
return r;
}
- r = sd_bus_request_name(bus, "org.freedesktop.timedate1", 0);
+ r = sd_bus_request_name(bus, "org.freedesktop.timedate1", SD_BUS_NAME_REPLACE_EXISTING);
if (r < 0) {
log_error("Failed to register name: %s", strerror(-r));
return r;