aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.com>2022-09-29 11:43:12 +0300
committerheretic <heretic@yandex-team.com>2022-09-29 11:43:12 +0300
commitcf643416793b68ae8ee6ca29d7a930fe2a9d6d0b (patch)
tree5dbebd5264197ee8647e3314da8d6478d60bdfa3
parent443eba7b70f9c860e2555791429053ec87e0a94c (diff)
downloadydb-cf643416793b68ae8ee6ca29d7a930fe2a9d6d0b.tar.gz
Prepare to clang14: fix ydb/public/lib/ydb_cli/commands -Wbitwise-instead-of-logical
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_profile.cpp b/ydb/public/lib/ydb_cli/commands/ydb_profile.cpp
index 9fb48db838..58dbd7c86f 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_profile.cpp
+++ b/ydb/public/lib/ydb_cli/commands/ydb_profile.cpp
@@ -533,7 +533,7 @@ void TCommandCreateProfile::Parse(TConfig& config) {
int TCommandCreateProfile::Run(TConfig& config) {
// Y_UNUSED(config);
TString profileName = ProfileName;
- Interactive = !AnyProfileOptionInCommandLine(config) | !profileName;
+ Interactive = !AnyProfileOptionInCommandLine(config) || !profileName;
if (Interactive) {
Cout << "Welcome! This command will take you through configuration profile creation process." << Endl;
}