Skip to content

Commit

Permalink
Merge pull request hashicorp#5 from SEJeff/patch-2
Browse files Browse the repository at this point in the history
Removing a useless use of grep
  • Loading branch information
progrium committed Aug 20, 2014
2 parents b392571 + 22c578b commit 278b942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cmd-run() {
run_mode="-join $join_ip"
fi

bridge_ip="$(ip ro | grep ^default | awk '{print $3}')"
bridge_ip="$(ip ro | awk '/^default/{print $3}')"
cat <<EOF
eval docker run --name consul -h \$HOSTNAME \
-p $external_ip:8300:8300 \
Expand Down

0 comments on commit 278b942

Please sign in to comment.