Skip to content

Commit

Permalink
improve pause function
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Woodford committed May 4, 2017
1 parent ece7c66 commit cb9e066
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ec2-elb-upload-ssl-cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function fail(){

# Pause
function pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down
2 changes: 1 addition & 1 deletion ec2-import-vpcsg-rules-cloudfront.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TOTALIPS=$(echo "$IPLIST" | wc -l)

# Functions
function pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down
2 changes: 1 addition & 1 deletion ec2-import-vpcsg-rules-pingdom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DEBUGMODE=0

# Functions
function pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down
2 changes: 1 addition & 1 deletion ec2-update-vpcsg-rules-pingdom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DEBUGMODE="0"
# Functions

function Pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down
2 changes: 1 addition & 1 deletion elastic-beanstalk-update-hostnames.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function fail(){

# Pause
function pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down
2 changes: 1 addition & 1 deletion route53-export-zones.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function fail(){

# Pause
function pause(){
read -p "Press any key to continue..."
read -n 1 -s -p "Press any key to continue..."
echo
}

Expand Down

0 comments on commit cb9e066

Please sign in to comment.