From d1b85a497daec6cfdc26d352280ad6c007750d8c Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Tue, 6 Dec 2016 09:55:41 +0100 Subject: [PATCH] fix namegen issue when using a proxy --- installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install.sh b/installer/install.sh index 130bf0c1..32eab9a6 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -294,7 +294,7 @@ adduser --system --no-create-home --uid 2000 --disabled-password --disabled-logi # Let's set the hostname fuECHO "### Setting a new hostname." -myHOST=$(curl -s www.nsanamegenerator.com | html2text | tr A-Z a-z | awk '{print $1}') +myHOST=$(curl -s -f www.nsanamegenerator.com | html2text | tr A-Z a-z | awk '{print $1}') if [ "$myHOST" = "" ]; then fuECHO "### Failed to fetch name from remote, using local cache." myHOST=$(fuRANDOMWORD)