repmgrd: fix parsing of -d/--daemonize option

This commit is contained in:
Ian Barwick
2018-10-03 11:34:08 +09:00
parent bd24848ce9
commit a40fd60cb5
3 changed files with 16 additions and 1 deletions

View File

@@ -134,7 +134,7 @@ main(int argc, char **argv)
memset(pid_file, 0, MAXPGPATH);
while ((c = getopt_long(argc, argv, "?Vf:L:vdp:m", long_options, &optindex)) != -1)
while ((c = getopt_long(argc, argv, "?Vf:L:vd:p:m", long_options, &optindex)) != -1)
{
switch (c)
{