mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-13 15:36:41 +07:00
timedated: /etc/sysconfig/clock is dead on Fedora, remove it
This commit is contained in:
parent
aaccc32cdc
commit
462ff40e65
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user