fix indent
This commit is contained in:
		
							parent
							
								
									3b637b617d
								
							
						
					
					
						commit
						6a000c3786
					
				@ -166,8 +166,7 @@ auto_tag=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
 | 
					#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
 | 
					purge_snapshots=false
 | 
				
			||||||
#handles options processing
 | 
					#handles options processing
 | 
				
			||||||
while getopts :s:c:r:v:t:k:pna opt
 | 
					while getopts :s:c:r:v:t:k:pna opt; do
 | 
				
			||||||
	do
 | 
					 | 
				
			||||||
	case $opt in
 | 
						case $opt in
 | 
				
			||||||
		s) selection_method="$OPTARG";;
 | 
							s) selection_method="$OPTARG";;
 | 
				
			||||||
		c) cron_primer="$OPTARG";;
 | 
							c) cron_primer="$OPTARG";;
 | 
				
			||||||
@ -180,7 +179,7 @@ while getopts :s:c:r:v:t:k:pna opt
 | 
				
			|||||||
		a) auto_tag=true;;
 | 
							a) auto_tag=true;;
 | 
				
			||||||
		*) echo "Error with Options Input. Cause of failure is most likely that an unsupported parameter was passed or a parameter was passed without a corresponding option." 1>&2 ; exit 64;;
 | 
							*) echo "Error with Options Input. Cause of failure is most likely that an unsupported parameter was passed or a parameter was passed without a corresponding option." 1>&2 ; exit 64;;
 | 
				
			||||||
	esac
 | 
						esac
 | 
				
			||||||
	done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#sources "cron_primer" file for running under cron or other restricted environments - this file should contain the variables and environment configuration required for ec2-automate-backup to run correctly
 | 
					#sources "cron_primer" file for running under cron or other restricted environments - this file should contain the variables and environment configuration required for ec2-automate-backup to run correctly
 | 
				
			||||||
if [[ -n $cron_primer ]]
 | 
					if [[ -n $cron_primer ]]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user