Fix pg_dumpall error detection

This commit is contained in:
Pau Rodriguez-Estivill
2022-02-26 19:33:24 +01:00
parent 1dd8f3af7f
commit bf074fcefb
+2 -3
View File
@@ -1,6 +1,5 @@
#! /bin/sh
set -e
#!/usr/bin/env bash
set -Eeo pipefail
if [ "${POSTGRES_DB}" = "**None**" -a "${POSTGRES_DB_FILE}" = "**None**" ]; then
echo "You need to set the POSTGRES_DB or POSTGRES_DB_FILE environment variable."