X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fhostname%2Fhostnamed.c;h=3f08d1c0ec34fea95c6cf13c4fa53566ac51bebc;hp=ece2b41671114f3402eeb19f7318f782fc527b01;hb=29a07cdb4a317f2e1ea160b79bfe6eb1be2e6e01;hpb=f8e11cda5316055c381f45bd30843c1b54cd323b diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index ece2b4167..3f08d1c0e 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|SD_BUS_NAME_DO_NOT_QUEUE); + r = sd_bus_request_name(bus, "org.freedesktop.hostname1", 0); if (r < 0) { log_error("Failed to register name: %s", strerror(-r)); return r;