From 055a52da03c288b039efe54874bfb2405d99eb83 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 21:02:26 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 78d6412c7..5223b5de8 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -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 }