fail script if any commands fail
This commit is contained in:
parent
c3e53a4c36
commit
84e4d13ced
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ in {
|
|||
];
|
||||
|
||||
script = ''
|
||||
set -o pipefail
|
||||
|
||||
ageRecipient="age17ckyc69njpryytc63ynn545jswyucg28k5xg3043g3j6q38dxqwq0wzhm2"
|
||||
bucket="$(grep 'bucket=' < "${backupConfigFile}" | sed 's/bucket \?= \?//g')"
|
||||
prefix="$(grep 'prefix=' < "${backupConfigFile}" | sed 's/prefix \?= \?//g')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue