mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update index.py
This commit is contained in:
@@ -279,7 +279,7 @@ def initPgPwd():
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
cmd_pass = cmd_pass + ' su - postgres -c "' + \
|
||||
serverdir + '/bin/psql" -d postgres'
|
||||
serverdir + '/bin/psql -d postgres"'
|
||||
else:
|
||||
cmd_pass = cmd_pass + serverdir + '/bin/psql -d postgres'
|
||||
data = mw.execShell(cmd_pass)
|
||||
|
||||
Reference in New Issue
Block a user