From 167c2ae96307923f4eded82b62a5997514d664aa Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Fri, 13 Feb 2015 09:44:07 -0800 Subject: [PATCH] missed variable in 9.1 entrypoint.sh --- 9.1/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9.1/docker-entrypoint.sh b/9.1/docker-entrypoint.sh index 34708b0f4c..7cfd7763e0 100755 --- a/9.1/docker-entrypoint.sh +++ b/9.1/docker-entrypoint.sh @@ -30,7 +30,7 @@ if [ "$1" = 'postgres' ]; then : ${POSTGRES_USER:=postgres} : ${POSTGRES_DB:=$POSTGRES_USER} - if [ "$POSTGRES_USER" = 'postgres' ]; then + if [ "$POSTGRES_DB" = 'postgres' ]; then op='ALTER' else op='CREATE'