Update mw.tpl

This commit is contained in:
Mr Chen 2024-10-01 21:02:26 +08:00
parent 2c3746c596
commit 055a52da03
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ mw_connect_pgdb(){
pwd=$(cd ${ROOT_PATH}/mdserver-web && python3 ${ROOT_PATH}/mdserver-web/plugins/postgresql/index.py root_pwd)
export PGPASSWORD=${pwd}
echo "${ROOT_PATH}/postgresql/bin/psql -U postgres -W"
echo "\n" | ${ROOT_PATH}/postgresql/bin/psql -U postgres -W
${ROOT_PATH}/postgresql/bin/psql -U postgres -W
}