@ -52,6 +52,7 @@ func (d *Downloader) download(url string, output string, doneChan chan error) {
return
}
if res.StatusCode != http.StatusOK {
doneChan <- nil
f, err := os.Create(output)