Skip to content

Commit 81f3648

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ad28d8e commit 81f3648

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

start

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,10 @@ esac
268268

269269
if [ $VERSION_CHECK -eq 1 ]; then
270270
# Fetch server version
271-
PGVERSION=$(psql -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -d "${POSTGRES_DB:-$POSTGRES_DATABASE}" -U "$POSTGRES_USER" -t -A -c 'SHOW server_version_num;') || { >&2 echo "Failed to connect to PostgreSQL to determine server version"; exit 1; }
271+
PGVERSION=$(psql -h "$POSTGRES_HOST" -p "$POSTGRES_PORT" -d "${POSTGRES_DB:-$POSTGRES_DATABASE}" -U "$POSTGRES_USER" -t -A -c 'SHOW server_version_num;') || {
272+
>&2 echo "Failed to connect to PostgreSQL to determine server version"
273+
exit 1
274+
}
272275

273276
unset PGPASSWORD
274277

0 commit comments

Comments
 (0)