Browse Source

Set pipefail so a pg_dump command will cause a failure

pull/13/head
Kieran Brownlees 9 years ago
parent
commit
56735a5775
  1. 1
      postgres-backup-s3/backup.sh

1
postgres-backup-s3/backup.sh

@ -1,6 +1,7 @@
#! /bin/sh
set -e
set -o pipefail
if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then
echo "You need to set the S3_ACCESS_KEY_ID environment variable."

Loading…
Cancel
Save