mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
wordpress: Fix minor issue in restoring database
- Overlooked in !2454. Tests: - Take a backup of wordpress app and disable it. Restore from the backup succeeds after that. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
5dbf890881
commit
f9c624562a
@ -160,7 +160,7 @@ def restore_database():
|
||||
subprocess.run(['mysql', '--user', 'root'], stdin=file_handle,
|
||||
check=True)
|
||||
|
||||
_set_privileges(DB_HOST, DB_NAME, DB_USER, _read_db_password())
|
||||
_set_privileges(DB_HOST, DB_NAME, DB_USER, _read_db_password())
|
||||
|
||||
|
||||
def _read_db_password():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user