提交 a33daf9b 编写于 作者: K kailixu

fix: primary disk for taosd -u

上级 4bd50c75
......@@ -125,8 +125,8 @@ int32_t main(int32_t argc, char *argv[]) {
exit(EXIT_FAILURE);
}
if (tfsInit(tsDiskCfg, tsDiskCfgNum) < 0) {
printf("failed to init TFS since %s", tstrerror(terrno));
return -1;
printf("failed to init TFS since %s\n", tstrerror(terrno));
exit(EXIT_FAILURE);
}
strncpy(tsDataDir, TFS_PRIMARY_PATH(), TSDB_FILENAME_LEN);
grantParseParameter("-u");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册