upgrade-postgresql: Check for undefined variables.

This commit is contained in:
Alex Vandiver
2023-06-05 20:43:20 +00:00
committed by Tim Abbott
parent 5e5d151c0c
commit 501d38b781

View File

@@ -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