Skip to content

Commit a64e45f

Browse files
authored
Merge pull request #69 from MiguelNdeCarvalho/master
Hide output of curl when getting the server ip
2 parents 1a90c1a + 9278f82 commit a64e45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ if [ -n "$PEERS" ]; then
231231
fi
232232
PEERS_COUNT=$(echo "${#PEERS_ARRAY[@]}")
233233
if [ -z "$SERVERURL" ] || [ "$SERVERURL" = "auto" ]; then
234-
SERVERURL=$(curl icanhazip.com)
234+
SERVERURL=$(curl -s icanhazip.com)
235235
echo "**** SERVERURL var is either not set or is set to \"auto\", setting external IP to auto detected value of $SERVERURL ****"
236236
else
237237
echo "**** External server address is set to $SERVERURL ****"

0 commit comments

Comments
 (0)