Skip to content

Commit

Permalink
Update setup-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanaugustobds authored May 6, 2022
1 parent 2b4dd30 commit d5d33ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/bin/setup-domain
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -o errexit

DOMAIN=$1

if ! grep -q $DOMAIN /etc/hosts; then
if ! grep -q "$DOMAIN" /etc/hosts; then
echo "Your system password is needed to add an entry to /etc/hosts..."
echo "127.0.0.1 ::1 $DOMAIN" | sudo tee -a /etc/hosts
fi
Expand Down

0 comments on commit d5d33ba

Please sign in to comment.