소스 검색

Don't print all databases during entrypoint check

Jake Howard 2 년 전
부모
커밋
46711111bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docker-entrypoint.sh

+ 1 - 1
docker-entrypoint.sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-until psql $DATABASE_URL -c '\l'; do
+until psql $DATABASE_URL -c '\q'; do
   >&2 echo "Postgres is unavailable - sleeping"
   sleep 1
 done