Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade-postgresql: Check for undefined variables.

Alex Vandiver501d38b78109
diff --git a/scripts/setup/upgrade-postgresql b/scripts/setup/upgrade-postgresql
index b103f0eb171..fcc31bce173 100755
--- a/scripts/setup/upgrade-postgresql
+++ b/scripts/setup/upgrade-postgresql
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-set -eo pipefail
+set -euo pipefail
if [ "$EUID" -ne 0 ]; then
echo "Error: This script must be run as root" >&2