Skip to content

Commit

Permalink
Add check for auth file
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielThomas committed Oct 30, 2016
1 parent 4d3e33e commit 46d4d0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ec2gaming-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ source "$(dirname "$0")/ec2gaming.header"

BOOTSTRAP=0

if [ ! -f ec2gaming.auth ]; then
echo "ec2gaming.auth file not found!"
fi

echo -n "Getting lowest $INSTANCE_TYPE bid... "
PRICE_AND_ZONE=($(./ec2gaming-price.sh))
PRICE=${PRICE_AND_ZONE[0]}
Expand Down

0 comments on commit 46d4d0e

Please sign in to comment.