mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
timedated: remove left-over distribution specific code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user