mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
ZooKeeper: fixed chroot [#CLICKHOUSE-2]
This commit is contained in:
parent
a5f05dc71e
commit
6364c49ad8
@ -737,6 +737,9 @@ void addRootPath(String & path, const String & root_path)
|
||||
if (root_path.empty())
|
||||
return;
|
||||
|
||||
if (path.size() == 1) /// "/"
|
||||
path = root_path;
|
||||
else
|
||||
path = root_path + path;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user