From 48ca14b895c11eab17c6569527a2e0b8f2a5d57c Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Sun, 31 Oct 2021 12:33:42 +0300 Subject: [PATCH] Update Install.cpp --- programs/install/Install.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/install/Install.cpp b/programs/install/Install.cpp index 0ae91f45697..790c19dfe04 100644 --- a/programs/install/Install.cpp +++ b/programs/install/Install.cpp @@ -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() / "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"