From 6e8e6437002fbd7ebec5b5a1da688fc9f2b0f5b0 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Fri, 15 Nov 2019 19:12:46 +0100 Subject: [PATCH] * debian/pg_createconfig_patroni: Fix whitespace. --- debian/pg_createconfig_patroni | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/pg_createconfig_patroni b/debian/pg_createconfig_patroni index 0ef1851..31bb8e0 100755 --- a/debian/pg_createconfig_patroni +++ b/debian/pg_createconfig_patroni @@ -137,9 +137,9 @@ if [ -z "$HOSTIP" ]; then if [ -x /bin/ip ]; then HOSTIP=$(/bin/ip -4 route get 8.8.8.8 | grep ^8.8.8.8 | sed -e s/.*src.// -e s/\ .*//g) else - echo "iproute2 package missing, cannot determine host ip addresss and --hostip is not set" - rm -f $CONFIG_FILE - exit 1 + echo "iproute2 package missing, cannot determine host ip addresss and --hostip is not set" + rm -f $CONFIG_FILE + exit 1 fi fi @@ -147,9 +147,9 @@ if [ -z "$NETWORK" ]; then if [ -x /bin/ip ]; then NETWORK=$(/bin/ip -4 route get 8.8.8.8 | grep ^8.8.8.8 | sed -e s/.*src.// -e s/\ .*//g -e s/\.[0-9]*$/.0/)/24 else - echo "iproute2 package missing, cannot determine network and --network is not set" - rm -f $CONFIG_FILE - exit 1 + echo "iproute2 package missing, cannot determine network and --network is not set" + rm -f $CONFIG_FILE + exit 1 fi fi