mirror of https://github.com/zulip/zulip.git
1fa4ef0271
Because the command is part of a pipe sequence, the exitcode defaults to the last in the sequence, which is not the most important one here. Set pipefail, which sets the exit status to the exit code of the last program in the sequence to exit non-zero, or 0 if all succeeded. This prevents the upgrade from barreling onward and setting `postgres.version` improperly if the database upgrade step failed. |
||
---|---|---|
.. | ||
configure-rabbitmq | ||
create-db.sql | ||
create-pgroonga.sql | ||
debathena-archive.asc | ||
flush-memcached | ||
generate-self-signed-cert | ||
generate_secrets.py | ||
initialize-database | ||
inline_email_css.py | ||
install | ||
pgdg.asc | ||
pgroonga-debian.asc | ||
pgroonga-ppa.asc | ||
postgres-init-db | ||
restore-backup | ||
setup-certbot | ||
sha256-tarball-to | ||
terminate-psql-sessions | ||
upgrade-postgres |