From 204fe60b28128d6210f63b58fb2d10ccfd054b79 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 24 Oct 2016 09:31:00 +0100 Subject: [PATCH] build_nmh: Have a silent curl still show errors. Arguably, -sS should be curl's defaults! --- docs/contrib/build_nmh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index 36fd8698..693c4578 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -148,7 +148,7 @@ else [ "$verbose" -eq 0 ] && wget_opts='--quiet' wget --output-document - $wget_opts "$snapshot" | tar xzf - elif [ "`finddir curl`" ]; then - [ "$verbose" -eq 0 ] && curl_opts=--silent + [ "$verbose" -eq 0 ] && curl_opts='--silent --show-error' curl --location $curl_opts "$snapshot" | tar xzf - else die 'unable to find program to download nmh sources' -- 2.56.0