From: Haruka harukat Date: Sun, 7 Nov 2010 21:57:35 +0000 (+0000) Subject: fix more about last modify: X-Git-Tag: PGPOOL_HA_2_0~4 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=42e328efd18190531071c22cef621afa37f82855;p=pgpoolha.git fix more about last modify: * fix bug in pgpool.monitor arguments. --- diff --git a/src/pgpool.in b/src/pgpool.in index 0ae707b..7fe10ce 100755 --- a/src/pgpool.in +++ b/src/pgpool.in @@ -96,7 +96,7 @@ fi PGPOOL_STOP_ARG=" stop" PGPOOL_FORCE_STOP_ARG=" -m i $PGPOOL_STOP_ARG" PGPOOL_MONITOR=${PGPOOLCMD}.monitor -PGPOOL_MONITOR_ARGS="--conf=$PGP_CONF localhost >/dev/null 2>&1" +PGPOOL_MONITOR_ARGS="--conf=$PGP_CONF localhost" # Source function library. . ${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs @@ -146,7 +146,7 @@ case "$1" in monitor) if check_pid then - $PGPOOL_MONITOR $PGPOOL_MONITOR_ARGS + $PGPOOL_MONITOR $PGPOOL_MONITOR_ARGS >/dev/null 2>&1 exit $? else exit 7 # stop or fail