From 348e628c572c1e37bbe42aeb77846cdc4188514e Mon Sep 17 00:00:00 2001 From: Jeff Vogt Date: Mon, 14 Oct 2013 19:58:36 -0700 Subject: [PATCH] forgot to add the new flag in getopts --- 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 8bef46c..07c4894 100755 --- a/ec2-automate-backup/ec2-automate-backup.sh +++ b/ec2-automate-backup/ec2-automate-backup.sh @@ -169,7 +169,7 @@ user_tags=false #sets the Purge Snapshot feature to false - this feature will eventually allow the removal of snapshots that have a "PurgeAfter" tag that is earlier than current date purge_snapshots=false #handles options processing -while getopts :s:c:r:v:t:k:pnu opt +while getopts :s:c:r:v:t:k:pnhu opt do case $opt in s) selection_method="$OPTARG";;