mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
timedated: remove left-over distribution specific code
This commit is contained in:
parent
d5a89d7dc1
commit
99f861310d
@ -176,14 +176,6 @@ static int read_data(void) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_DEBIAN
|
||||
r = read_one_line_file("/etc/timezone", &tz.zone);
|
||||
if (r < 0) {
|
||||
if (r != -ENOENT)
|
||||
log_warning("Failed to read /etc/timezone: %s", strerror(-r));
|
||||
}
|
||||
#endif
|
||||
|
||||
have_timezone:
|
||||
if (isempty(tz.zone)) {
|
||||
free(tz.zone);
|
||||
|
Loading…
Reference in New Issue
Block a user