fix unresolved pid

This commit is contained in:
Teja Srivastasa 2021-10-30 22:18:33 +02:00
parent a4b653fdca
commit cd14be90aa

View File

@ -809,6 +809,7 @@ 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)) {
fmt::print(
"\nClickHouse has been successfully installed.\n"