From: Tatsuo Ishii Date: Sun, 1 Sep 2019 02:38:35 +0000 (+0900) Subject: Fix pgpool_setup to reflect the -p (baseport) to ORIGBASEPORT variable. X-Git-Tag: V3_4_26~18 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=80deb579d4eb4461b4493048f750f3371382d80a;p=pgpool2.git Fix pgpool_setup to reflect the -p (baseport) to ORIGBASEPORT variable. Otherwise, shutdown generated script by pgpool_setup does not use proper port number for netstat command. --- diff --git a/src/test/pgpool_setup b/src/test/pgpool_setup index 0bd472646..02b4710c6 100755 --- a/src/test/pgpool_setup +++ b/src/test/pgpool_setup @@ -622,6 +622,7 @@ do elif [ $1 = "-p" ];then shift BASEPORT=$1 + ORIGBASEPORT=$1 elif [ $1 = "--no-stop" ];then shift NO_STOP="true"