From e43c27bb99a41bbca04092d0f1b575887a4ddc63 Mon Sep 17 00:00:00 2001 From: kquinsland Date: Thu, 24 Jul 2014 12:13:08 -0700 Subject: [PATCH] Update ec2-automate-backup.sh small typo fix --- ec2-automate-backup/ec2-automate-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ec2-automate-backup/ec2-automate-backup.sh b/ec2-automate-backup/ec2-automate-backup.sh index 40c1120..23ff703 100755 --- a/ec2-automate-backup/ec2-automate-backup.sh +++ b/ec2-automate-backup/ec2-automate-backup.sh @@ -46,7 +46,7 @@ get_EBS_List() { #takes the output of the previous command ebs_backup_list_result=$(echo $?) if [[ $ebs_backup_list_result -gt 0 ]]; then - echo -e "An error occured when running ec2-describe-volumes. The error returned is below:\n$ebs_backup_list_complete" 1>&2 ; exit 70 + echo -e "An error occurred when running ec2-describe-volumes. The error returned is below:\n$ebs_backup_list_complete" 1>&2 ; exit 70 fi #returns the list of EBS volumes that matched ebs_selection_string. ebs_backup_list=$(echo "$ebs_backup_list_complete" | grep ^VOLUME | cut -f 2)