!2579 [共享存储][bugfix]解决pg_controldata错误输入异常退出的问题

Merge pull request !2579 from 陈栋/bugfix
This commit is contained in:
opengauss-bot
2022-12-08 06:32:43 +00:00
committed by Gitee

View File

@ -239,7 +239,8 @@ int main(int argc, char* argv[])
off_t ControlFileSize;
static struct option long_options[] = {{"enable-dss", no_argument, NULL, 1},
{"socketpath", required_argument, NULL, 2}};
{"socketpath", required_argument, NULL, 2},
{NULL, 0, NULL, 0}};
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_controldata"));