From dc65347b838b4b55f649cc780b33d51f5e8cb5bf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Feb 2017 15:14:56 -0400 Subject: Run wget with -nv instead of -q, so it will display HTTP errors. This adds one extra line of output when a download is successful, after the progress bar. I don't much like that, but wget does not provide a way to show HTTP errors without it. --- Utility/Url.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Utility') diff --git a/Utility/Url.hs b/Utility/Url.hs index da1a38dd3..45a34bc35 100644 --- a/Utility/Url.hs +++ b/Utility/Url.hs @@ -279,8 +279,8 @@ download' quiet url file uo = do -} #ifndef __ANDROID__ wgetparams = concat - [ if Build.SysConfig.wgetquietprogress && not quiet - then [Param "-q", Param "--show-progress"] + [ if Build.SysConfig.wgetunclutter && not quiet + then [Param "-nv", Param "--show-progress"] else [] , [ Param "--clobber", Param "-c", Param "-O"] ] -- cgit v1.2.3