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 0ebdb3c47776216b25a3c86f95a7c3720766f3db..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) {
 #ifdef HAVE_DEBIAN
         r = read_one_line_file("/etc/timezone", &tz.zone);
         if (r < 0) {