From: Nozomi Anzai Date: Fri, 20 Jul 2012 02:21:45 +0000 (+0900) Subject: Fix the position of "-C" option when starting pgpool. X-Git-Tag: V3_2_1~6 X-Git-Url: http://git.postgresql.org/gitweb/review?a=commitdiff_plain;h=01f0cff944464921abbc5579ae324981ec86a873;p=pgpooladmin.git Fix the position of "-C" option when starting pgpool. --- diff --git a/status.php b/status.php index 0ce1bb0..a862905 100644 --- a/status.php +++ b/status.php @@ -84,6 +84,9 @@ switch ($action) { if (isset($_POST['d'])) { $args = $args . "-d "; } + if (isset($_POST['C'])) { + $args = $args . "-C "; + } if (isset($_POST['n'])) { $pgpoolLog = _PGPOOL2_LOG_FILE; if ($pgpoolLog == '') { @@ -96,9 +99,6 @@ switch ($action) { $args = "$args -n > $pgpoolLog "; } } - if (isset($_POST['C'])) { - $args = $args . "-C "; - } $ret = execPcp('PCP_START_PGPOOL', $args); if (!array_key_exists('SUCCESS', $ret)) {