From 97c3330eb255491ed3202fa1c774be4eb9f762e9 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 3 Mar 2021 12:50:33 +0100 Subject: [PATCH] Silence cURL --- sources/Coturn_config_rotate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Coturn_config_rotate.sh b/sources/Coturn_config_rotate.sh index ce7d6c5..8688b44 100644 --- a/sources/Coturn_config_rotate.sh +++ b/sources/Coturn_config_rotate.sh @@ -6,8 +6,8 @@ coturn_config_path="/etc/turnserver.conf" external_IP_line="external-ip=__IPV4__/__IPV6__" -public_ip4="$(curl ip.yunohost.org)" || true -public_ip6="$(curl ipv6.yunohost.org)" || true +public_ip4="$(curl -s ip.yunohost.org)" || true +public_ip6="$(curl -s ipv6.yunohost.org)" || true if [ -n "$public_ip4" ] && ynh_validate_ip4 --ip_address="$public_ip4" then