From 2cf005cae91097eefd736435778480d444dd0954 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Mon, 23 Aug 2021 15:06:39 +0800 Subject: [PATCH] [TD-5992] add error msg --- src/client/src/tscSystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscSystem.c b/src/client/src/tscSystem.c index b1b615ff4e..7811f39e33 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) { -- GitLab