From 5d5976d31ecd6aa9ae64afb075d8a3aeab2c7f5e Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 9 Mar 2016 08:41:39 +0100 Subject: [PATCH] [fix] Workaround for the bad people who are not using IPv6 yet --- data/hooks/conf_regen/43-dnsmasq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/hooks/conf_regen/43-dnsmasq b/data/hooks/conf_regen/43-dnsmasq index 78402cdcf..897adf19b 100644 --- a/data/hooks/conf_regen/43-dnsmasq +++ b/data/hooks/conf_regen/43-dnsmasq @@ -19,7 +19,7 @@ cd /usr/share/yunohost/templates/dnsmasq ip=$(curl -s -4 https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0') # Get IPv6 IP address -ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null) +ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null || echo '') sudo mkdir -p /etc/dnsmasq.d