aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--standalone/src/main/assembly/resources/bin/initDB.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/src/main/assembly/resources/bin/initDB.sh b/standalone/src/main/assembly/resources/bin/initDB.sh
index baa06724..ad9dac27 100644
--- a/standalone/src/main/assembly/resources/bin/initDB.sh
+++ b/standalone/src/main/assembly/resources/bin/initDB.sh
@@ -23,7 +23,7 @@ user_pg=$3
user_uui=$4
echo "setting postgres database password"
-su - $user <<EOF
+su - $user_pg <<EOF
psql --command "alter user $user_pg with password '$user_pg';"
EOF