Skip to content

Commit

Permalink
prevent globbing and word splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon committed Jan 6, 2024
1 parent c73066f commit 0a35e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure_files/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if [[ "x-$NETBIRD_TURN_EXTERNAL_IP" == "x-" ]]; then
echo "unable to discover server's public IP"
fi
else
echo ""${NETBIRD_TURN_EXTERNAL_IP}"| egrep '([0-9]{1,3}\.){3}[0-9]{1,3}$' > /dev/null
echo "${NETBIRD_TURN_EXTERNAL_IP}"| egrep '([0-9]{1,3}\.){3}[0-9]{1,3}$' > /dev/null
if [[ $? -eq 0 ]]; then
echo "using provided server's public IP"
TURN_EXTERNAL_IP_CONFIG="external-ip=$NETBIRD_TURN_EXTERNAL_IP"
Expand Down

0 comments on commit 0a35e34

Please sign in to comment.