summaryrefslogtreecommitdiffstats
path: root/server/db-init.sh
diff options
context:
space:
mode:
authorpfcoder <pfcoder97@gmail.com>2020-05-01 21:58:52 +0800
committerpfcoder <pfcoder97@gmail.com>2020-05-01 21:58:52 +0800
commit6d73b167168699f4ca67f927d125f0be46e9aad9 (patch)
tree23373fd059d4e54a4d1939fa5f787d318c1a36ae /server/db-init.sh
parent9b93d4c098da53cc24ca0b4df293122ef251f7d3 (diff)
fix shell quotation error of server db-init.sh
Diffstat (limited to 'server/db-init.sh')
-rwxr-xr-xserver/db-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/db-init.sh b/server/db-init.sh
index c9150e9d..87f39ead 100755
--- a/server/db-init.sh
+++ b/server/db-init.sh
@@ -37,7 +37,7 @@ done
psql -c "CREATE USER $username WITH PASSWORD '$password' SUPERUSER;" -U postgres
-psql -c 'CREATE DATABASE $dbname WITH OWNER $username;' -U postgres
+psql -c "CREATE DATABASE $dbname WITH OWNER $username;" -U postgres
export LEMMY_DATABASE_URL=postgres://$username:$password@localhost:$port/$dbname
echo $LEMMY_DATABASE_URL