We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a66856 commit a048e02Copy full SHA for a048e02
vagrant/provisioning/roles/mystamps-backup/templates/remote-backup.sh
@@ -1,8 +1,15 @@
1
#!/bin/bash
2
3
+# Treat unset variables and parameters as an error when performing parameter expansion
4
set -o nounset
5
+
6
+# Exit immediately if command returns a non-zero status
7
set -o errexit
8
9
+# Return value of a pipeline is the value of the last command to exit with a non-zero status
10
+set -o pipefail
11
12
13
UPLOADS_DST='{{ uploads_target_url }}'
14
MYSQL_BACKUPS_DST='{{ mysql_backups_target_url }}'
15
PASSPHRASE='{{ gpg_passphrase }}'
0 commit comments