[pgpool-committers: 1800] 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
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3c2cb002ff2d44f29416473dae5cc9e05c41aa4f
Modified Files
--------------
src/watchdog/wd_if.c | 4 ++--
src/watchdog/wd_ping.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
More information about the pgpool-committers
mailing list