Skip to content

Commit

Permalink
remove or true
Browse files Browse the repository at this point in the history
  • Loading branch information
sagepe committed Nov 15, 2024
1 parent 1c0936e commit 0abecc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_ec2() {
# If we're not running on an EC2 instance, an empty body is returned
# by this request:
echo -n "Testing for being on EC2... "
EC2_HOSTNAME=`curl --max-time 10 -s http://169.254.169.254/latest/meta-data/public-hostname || true`
EC2_HOSTNAME=`curl --max-time 10 -s http://169.254.169.254/latest/meta-data/public-hostname`
echo "got ${EC2_HOSTNAME}... ${DONE_MSG}"
}

Expand Down

0 comments on commit 0abecc0

Please sign in to comment.