* debian/pg_createconfig_patroni: Remove debugging output and fix premature
exit.
This commit is contained in:
parent
5e6c49a5b9
commit
7dbc251dd2
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
||||||
patroni (1.5.4-8) UNRELEASED; urgency=medium
|
patroni (1.5.4-8) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
*
|
[ Michael Banck ]
|
||||||
|
* debian/pg_createconfig_patroni: Remove debugging output and fix premature
|
||||||
|
exit.
|
||||||
|
|
||||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Thu, 07 Feb 2019 18:13:20 +0100
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Thu, 07 Feb 2019 18:13:20 +0100
|
||||||
|
|
||||||
|
|
3
debian/pg_createconfig_patroni
vendored
3
debian/pg_createconfig_patroni
vendored
|
@ -50,9 +50,6 @@ else
|
||||||
CLUSTER=$2
|
CLUSTER=$2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Version: $VERSION, Cluster: $CLUSTER"
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
if [ -z "$PORT" ]; then
|
if [ -z "$PORT" ]; then
|
||||||
# try to guess next free port
|
# try to guess next free port
|
||||||
PORT=$(($(pg_lsclusters | awk '{print $3}' | grep -v Port | sort -n | tail -1) + 1))
|
PORT=$(($(pg_lsclusters | awk '{print $3}' | grep -v Port | sort -n | tail -1) + 1))
|
||||||
|
|
Loading…
Reference in a new issue