Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade-postgres: Catch failed pg_upgradecluster exit code.
Alex Vandiver1fa4ef02710b
diff --git a/scripts/setup/upgrade-postgres b/scripts/setup/upgrade-postgresindex 9eedb5c00db..c1925895ce9 100755--- a/scripts/setup/upgrade-postgres+++ b/scripts/setup/upgrade-postgres@@ -1,5 +1,5 @@#!/usr/bin/env bash-set -e+set -eo pipefailif [ "$EUID" -ne 0 ]; thenecho "Error: This script must be run as root" >&2