summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 15:14:56 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 15:25:02 -0400
commitdc65347b838b4b55f649cc780b33d51f5e8cb5bf (patch)
tree18ebd7ba80e542e5710b19de8862c9e988b31d92 /Utility
parent446659676aae40aaa1689f95540411af4b0e8c48 (diff)
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.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Url.hs4
1 files changed, 2 insertions, 2 deletions
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"]
]