We want all strings in the array as separate strings
This commit is contained in:
@@ -42,7 +42,7 @@ for try in `seq 1 5`; do
|
|||||||
|
|
||||||
if tar -cvzf - -C "${app_data_snapshot}" . \
|
if tar -cvzf - -C "${app_data_snapshot}" . \
|
||||||
| openssl aes-256-cbc -e -pass "pass:${backup_key}" \
|
| openssl aes-256-cbc -e -pass "pass:${backup_key}" \
|
||||||
| curl --fail -X PUT "${headers[@]}" --data-binary @- "${backup_url}" 2>"${error_log}"; then
|
| curl --fail -X PUT ${headers[@]} --data-binary @- "${backup_url}" 2>"${error_log}"; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
cat "${error_log}" && rm "${error_log}"
|
cat "${error_log}" && rm "${error_log}"
|
||||||
|
|||||||
Reference in New Issue
Block a user