[pgpool-committers: 1799] pgpool: Fix to ignore a harmless error code when executing ifconfig com

Yugo Nagata nagata at sraoss.co.jp
Mon Apr 21 15:17:03 JST 2014


Fix to ignore a harmless error code when executing ifconfig command

When executing command such as ifconfig or ping by execv() in a forked
child proess, wait() can fails with an error code ECHILD, although the
process exists exactly, if SIGCHLD is set to SIG_IGN in Linux. We should
ignore this and not treat as failure of the command.

Branch
------
V3_3_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=11122e47902487a7a9b61a498c113dc4df3483a5

Modified Files
--------------
watchdog/wd_if.c   |    4 ++--
watchdog/wd_ping.c |    2 +-
2 files changed, 3 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list