diff --git a/src/scripts/restoreapp.sh b/src/scripts/restoreapp.sh index f6cbf28c9..520bb7e07 100755 --- a/src/scripts/restoreapp.sh +++ b/src/scripts/restoreapp.sh @@ -34,7 +34,7 @@ for try in `seq 1 5`; do headers=() # federated tokens in CaaS case need session token - if [ ! -z "$session_token" ]; then + if [[ ! -z "${session_token}" ]]; then headers=(${headers[@]} "-H" "x-amz-security-token: ${session_token}") fi