* debian/pg_createconfig_patroni: Fix whitespace.
This commit is contained in:
parent
2dfc33b913
commit
6e8e643700
12
debian/pg_createconfig_patroni
vendored
12
debian/pg_createconfig_patroni
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue