mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Update Install.cpp
This commit is contained in:
parent
661c288f49
commit
48ca14b895
@ -809,8 +809,9 @@ int mainEntryClickHouseInstall(int argc, char ** argv)
|
||||
if (has_password_for_default_user)
|
||||
maybe_password = " --password";
|
||||
|
||||
fs::path pid_file = prefix / options["pid-path"].as<std::string>() / "clickhouse-server.pid";
|
||||
if (fs::exists(pid_file)) {
|
||||
fs::path pid_file = pid_path / "clickhouse-server.pid";
|
||||
if (fs::exists(pid_file))
|
||||
{
|
||||
fmt::print(
|
||||
"\nClickHouse has been successfully installed.\n"
|
||||
"\nRestart clickhouse-server with:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user