summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-09 12:57:30 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-09 12:57:30 -0400
commita67cf42a599146acee0401525ccdc7cbe3211ad9 (patch)
tree057dcb7e2c03d6d68a8f582f912e360848d0a329 /Utility
parentb53c9e16064db874fa39b128e79810aaea63b4f6 (diff)
cleanup
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Url.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utility/Url.hs b/Utility/Url.hs
index 0ecc195d5..1b0c394b7 100644
--- a/Utility/Url.hs
+++ b/Utility/Url.hs
@@ -208,8 +208,7 @@ download' :: Bool -> URLString -> FilePath -> UrlOptions -> IO Bool
download' quiet url file uo = do
case parseURIRelaxed url of
Just u
- | uriScheme u == "file:" -> do
- curl
+ | uriScheme u == "file:" -> curl
| otherwise -> ifM (inPath "wget") (wget , curl)
_ -> return False
where