diff --git a/programs/install/Install.cpp b/programs/install/Install.cpp index 57e56c8b9ea..3cfcb849b61 100644 --- a/programs/install/Install.cpp +++ b/programs/install/Install.cpp @@ -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() / "clickhouse-server.pid"; if (fs::exists(pid_file)) { fmt::print( "\nClickHouse has been successfully installed.\n"