mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix: suppress benign output during database restoration in installation script
This commit is contained in:
parent
d6cb41d130
commit
66d9cd570b
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ if $MIGRATION_MODE; then
|
|||
(cd "${INSTALL_DIR}" && ${DC} exec -T \
|
||||
-e PGPASSWORD="${DB_PASS}" \
|
||||
db psql -U "${DB_USER}" -d "${DB_NAME}" \
|
||||
2>"${RESTORE_ERR}") < "${DUMP_FILE}" || true
|
||||
>/dev/null 2>"${RESTORE_ERR}") < "${DUMP_FILE}" || true
|
||||
|
||||
# Surface real errors; ignore benign "already exists" noise from pg_dump headers
|
||||
FATAL_ERRORS=$(grep -i "^ERROR:" "${RESTORE_ERR}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue