mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-06 09:20:26 +00:00
Merge pull request #69 from MiguelNdeCarvalho/master
Hide output of curl when getting the server ip
This commit is contained in:
commit
a64e45fd5d
@ -231,7 +231,7 @@ if [ -n "$PEERS" ]; then
|
||||
fi
|
||||
PEERS_COUNT=$(echo "${#PEERS_ARRAY[@]}")
|
||||
if [ -z "$SERVERURL" ] || [ "$SERVERURL" = "auto" ]; then
|
||||
SERVERURL=$(curl icanhazip.com)
|
||||
SERVERURL=$(curl -s icanhazip.com)
|
||||
echo "**** SERVERURL var is either not set or is set to \"auto\", setting external IP to auto detected value of $SERVERURL ****"
|
||||
else
|
||||
echo "**** External server address is set to $SERVERURL ****"
|
||||
|
Loading…
Reference in New Issue
Block a user