chiark / gitweb /
man: fix invalid links to generator wiki pages
[elogind.git] / src / timedate / timedated.c
index 0ebece893fe135b5891d894cc9123ab2fc8a97a9..8c589ba30ee130a96b74b42538f99a99a6651746 100644 (file)
@@ -176,15 +176,6 @@ static int read_data(void) {
                 }
         }
 
-#ifdef TARGET_FEDORA
-        r = parse_env_file("/etc/sysconfig/clock", NEWLINE,
-                           "ZONE", &tz.zone,
-                           NULL);
-
-        if (r < 0 && r != -ENOENT)
-                log_warning("Failed to read /etc/sysconfig/clock: %s", strerror(-r));
-#endif
-
 #ifdef HAVE_DEBIAN
         r = read_one_line_file("/etc/timezone", &tz.zone);
         if (r < 0) {
@@ -1032,7 +1023,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");
                 }
         }