diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index b1b615ff4ea303161e71029a765bef762f322559..7811f39e33529476d361881f4291189530e4c510 100644 --- a/src/client/src/tscSystem.c +++ b/src/client/src/tscSystem.c @@ -443,7 +443,7 @@ static int taos_set_config_imp(const char *config){ static bool setConfFlag = false; if (setConfFlag) { tscError("already set config"); - return -1; + return 0; } cJSON *root = cJSON_Parse(config); if (root == NULL) {