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

@@ -5,6 +5,7 @@
repmgr: report unreachable nodes when running "repmgr cluster (matrix|crosscheck); repmgr: report unreachable nodes when running "repmgr cluster (matrix|crosscheck);
GitHub #246 (Ian) GitHub #246 (Ian)
repmgr: add configuration file parameter "repmgr_bindir"; GitHub #246 (Ian) repmgr: add configuration file parameter "repmgr_bindir"; GitHub #246 (Ian)
repmgrd: fix parsing of -d/--daemonize option (Ian)
4.1.1 2018-09-05 4.1.1 2018-09-05
logging: explicitly log the text of failed queries as ERRORs to logging: explicitly log the text of failed queries as ERRORs to

View File

@@ -95,6 +95,20 @@
</itemizedlist> </itemizedlist>
</para> </para>
</sect2> </sect2>
<sect2>
<title>Bug fixes</title>
<para>
<itemizedlist>
<listitem>
<para>
<application>repmgrd</application>: fix parsing of <option>-d/--daemonize</option> option.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1> </sect1>
<sect1 id="release-4.1.1"> <sect1 id="release-4.1.1">

View File

@@ -134,7 +134,7 @@ main(int argc, char **argv)
memset(pid_file, 0, MAXPGPATH); 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) switch (c)
{ {