chiark / gitweb /
timedated: unregister the right bus service
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Sep 2012 17:09:22 +0000 (19:09 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 Sep 2012 17:09:22 +0000 (19:09 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=858771

src/timedate/timedated.c

index 0ebece8..0ebdb3c 100644 (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");
                 }
         }