mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Addition to prev. revision
This commit is contained in:
parent
74b245cfd4
commit
4e1286e1e5
@ -68,7 +68,7 @@ std::string determineDefaultTimeZone()
|
||||
tz_file_path = fs::read_symlink(tz_file_path);
|
||||
/// If it's relative - make it absolute.
|
||||
if (tz_file_path.is_relative())
|
||||
tz_file_path = (fs::path("/etc/localtime/") / tz_file_path).lexically_normal();
|
||||
tz_file_path = (fs::path("/etc/") / tz_file_path).lexically_normal();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user