Skip to content

Commit

Permalink
Craigs-MacBook-Pro.local
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Sep 28, 2023
1 parent 410f71e commit 081824f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/common/script-templates/script-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ wait_for_cf_postgres_down() {
# Returns non-0 otherwise (1 if exited by timeout)
for i in $(seq 1 60); do
true "checking if Postgresql is shutdown..."
if ! "$PREFIX"/bin/pg_isready >/dev/null 2>&1; then
if ! cd /tmp && su cfpostgres -c "$PREFIX/bin/psql -l" >/dev/null 2>&1; then
true "Postgresql is shutdown, moving on"
return 0
fi
Expand Down

0 comments on commit 081824f

Please sign in to comment.