fix: incorrect prompt when log on taos without sysinfo privilege

This commit is contained in:
kailixu 2025-01-07 19:55:32 +08:00
parent 75c43517be
commit 869f037168
1 changed files with 1 additions and 0 deletions

View File

@ -1392,6 +1392,7 @@ int32_t shellExecute() {
}
#endif
#endif
// printf version
if (verType == TSDB_VERSION_ENTERPRISE || verType == TSDB_VERSION_CLOUD) {
printf("%s\n", buf);
}