Browse Source

Merge pull request #13 from kandoio/pipefail

Set pipefail so a pg_dump command will cause a failure
pull/15/head
Johannes Schickling 9 years ago
parent
commit
0f2d759187
  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