Skip to content

Commit 167c2ae

Browse files
committed
missed variable in 9.1 entrypoint.sh
1 parent 80fa682 commit 167c2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

9.1/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ "$1" = 'postgres' ]; then
3030

3131
: ${POSTGRES_USER:=postgres}
3232
: ${POSTGRES_DB:=$POSTGRES_USER}
33-
if [ "$POSTGRES_USER" = 'postgres' ]; then
33+
if [ "$POSTGRES_DB" = 'postgres' ]; then
3434
op='ALTER'
3535
else
3636
op='CREATE'

0 commit comments

Comments
 (0)