Update ec2-automate-backup-awscli.sh
small typo fix.
This commit is contained in:
		
							parent
							
								
									d700c95dd4
								
							
						
					
					
						commit
						0a056941be
					
				@ -46,7 +46,7 @@ get_EBS_List() {
 | 
				
			|||||||
  #takes the output of the previous command 
 | 
					  #takes the output of the previous command 
 | 
				
			||||||
  ebs_backup_list_result=$(echo $?)
 | 
					  ebs_backup_list_result=$(echo $?)
 | 
				
			||||||
  if [[ $ebs_backup_list_result -gt 0 ]]; then
 | 
					  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
 | 
					  fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user