chiark / gitweb /
timedated: /etc/sysconfig/clock is dead on Fedora, remove it
authorLennart Poettering <lennart@poettering.net>
Thu, 20 Sep 2012 18:51:18 +0000 (20:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 20 Sep 2012 18:51:18 +0000 (20:51 +0200)
src/timedate/timedated.c

index 0ebdb3c..8c589ba 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) {