From 80fae175451b37ebbbf17e38971d63196cbecfcb Mon Sep 17 00:00:00 2001 From: Nikita Mikhaylov Date: Fri, 18 Dec 2020 03:30:01 +0300 Subject: [PATCH] Update Install.cpp --- programs/install/Install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/install/Install.cpp b/programs/install/Install.cpp index e1934c2ca5a..4029df0f314 100644 --- a/programs/install/Install.cpp +++ b/programs/install/Install.cpp @@ -156,7 +156,7 @@ int mainEntryClickHouseInstall(int argc, char ** argv) #if defined(OS_DARWIN) uint32_t path_length = 0; _NSGetExecutablePath(nullptr, &path_length); - if (path_length <= 1) + if (path_length <= 1) Exception(ErrorCodes::FILE_DOESNT_EXIST, "Cannot obtain path to the binary"); std::string path(path_length, std::string::value_type());