Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon authored Mar 7, 2018
1 parent e86273d commit c6eee11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GATEWAY=$(ip route | grep '^default' | cut -d' ' -f3)

# mac specific docker gateway
GATEWAY_MAC="$(getent hosts docker.for.mac.host.internal | cut -d' ' -f1)"
if [ -z "$GATEWAY_MAC" ]; then
if [ -n "$GATEWAY_MAC" ]; then
GATEWAY=$GATEWAY_MAC
fi

Expand Down

0 comments on commit c6eee11

Please sign in to comment.