summaryrefslogtreecommitdiff
path: root/src/timedate/timedated.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-19 19:09:22 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-19 19:09:22 +0200
commitc68df23956455129087fb0ddc588ca492771555b (patch)
tree5150956792b5470590a38382be549623bc764984 /src/timedate/timedated.c
parent06957305d7edfbad8a406f784617d824e95d0b69 (diff)
timedated: unregister the right bus service
https://bugzilla.redhat.com/show_bug.cgi?id=858771
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 0ebece893f..0ebdb3c477 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -1032,7 +1032,7 @@ int main(int argc, char *argv[]) {
if (!exiting && remain_until < now(CLOCK_MONOTONIC)) {
exiting = true;
- bus_async_unregister_and_exit(bus, "org.freedesktop.hostname1");
+ bus_async_unregister_and_exit(bus, "org.freedesktop.timedated1");
}
}