remove illegal usage of configure file path

This commit is contained in:
hjxilinx 2019-11-12 10:07:34 +08:00
parent b2d01f72e0
commit 8833fc69ae
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
fprintf(stderr, "Invalid path %s\n", arg); fprintf(stderr, "Invalid path %s\n", arg);
return -1; return -1;
} }
strcpy(configDir, full_path.we_wordv[0]); taos_options(TSDB_OPTION_CONFIGDIR, full_path.we_wordv[0]);
wordfree(&full_path); wordfree(&full_path);
break; break;
case OPT_ABORT: case OPT_ABORT: