Set --clobber when running wget to ensure resuming works properly.
This commit is contained in:
parent
0912e752b5
commit
d603f536bd
2 changed files with 2 additions and 1 deletions
|
@ -110,7 +110,7 @@ download' quiet url headers options file =
|
|||
_ -> return False
|
||||
where
|
||||
headerparams = map (\h -> Param $ "--header=" ++ h) headers
|
||||
wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "-c -O"]
|
||||
wget = go "wget" $ headerparams ++ quietopt "-q" ++ [Params "--clobber -c -O"]
|
||||
{- Uses the -# progress display, because the normal
|
||||
- one is very confusing when resuming, showing
|
||||
- the remainder to download as the whole file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue