aboutsummaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
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