diff --git a/docker/docker-prepare.sh b/docker/docker-prepare.sh index 9e2819d47..681ccf5a0 100755 --- a/docker/docker-prepare.sh +++ b/docker/docker-prepare.sh @@ -10,7 +10,7 @@ wait_for_postgres() { port="${PAPERLESS_DBPORT:=5342}" - while [ ! "$(pg_isready -h "$host" -p "$port")" ]; do + while [ ! "$(pg_isready -h $host -p $port)" ]; do if [ $attempt_num -eq $max_attempts ]; then echo "Unable to connect to database."