From 537f2e783ee7d3f39508b3ca73a2533629a8a411 Mon Sep 17 00:00:00 2001 From: Filmon Arefayne Date: Fri, 2 Apr 2021 12:40:49 +0200 Subject: [PATCH] Update init_db.sh (#87) Quote also the user variable --- scripts/init_db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init_db.sh b/scripts/init_db.sh index cc1df04..5a0c806 100755 --- a/scripts/init_db.sh +++ b/scripts/init_db.sh @@ -3,7 +3,7 @@ set -x set -eo pipefail # Check if a custom user has been set, otherwise default to 'postgres' -DB_USER=${POSTGRES_USER:=postgres} +DB_USER="${POSTGRES_USER:=postgres}" # Check if a custom password has been set, otherwise default to 'password' DB_PASSWORD="${POSTGRES_PASSWORD:=password}" # Check if a custom password has been set, otherwise default to 'newsletter'