* debian/pg_createconfig_patroni: Remove debugging output and fix premature

exit.
This commit is contained in:
Michael Banck 2019-02-08 15:21:36 +01:00
parent 5e6c49a5b9
commit 7dbc251dd2
2 changed files with 3 additions and 4 deletions

4
debian/changelog vendored
View file

@ -1,6 +1,8 @@
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

View file

@ -50,9 +50,6 @@ else
CLUSTER=$2
fi
echo "Version: $VERSION, Cluster: $CLUSTER"
exit 0
if [ -z "$PORT" ]; then
# try to guess next free port
PORT=$(($(pg_lsclusters | awk '{print $3}' | grep -v Port | sort -n | tail -1) + 1))