Fix incorrect expansion of array in s3backup.sh
This commit is contained in:
parent
1933ba21c0
commit
a5b83e1a59
@ -38,7 +38,7 @@ export AWS_SECRET_ACCESS_KEY="{{ backup_s3_aws_secret_access_key }}"
|
||||
|
||||
# Tar up all items in the backup list, recursively, and pipe them straight
|
||||
# up to S3
|
||||
if [ -z "${DIRS[@]}" ]; then
|
||||
if [ -z "${DIRS[*]}" ]; then
|
||||
echo "No directories configured to back up!"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user