timedated: unregister the right bus service

https://bugzilla.redhat.com/show_bug.cgi?id=858771
This commit is contained in:
Lennart Poettering
2012-09-19 19:09:22 +02:00
parent 06957305d7
commit c68df23956
+1 -1
View File
@@ -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");
}
}