Fixup bugs with updated backup scripts

This commit is contained in:
Johannes Zellner
2016-12-07 10:47:06 +01:00
parent 01631e0477
commit b2dbb5a100
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ if [[ "$1" == "s3" ]]; then
readonly endpoint_url="$6"
readonly password="$7"
if [ $# -gt 6 ]; then
if [ $# -gt 7 ]; then
export AWS_SESSION_TOKEN="$8"
fi
fi