mirror of https://github.com/aria2/aria2
Don't check control file existence if isPreLocalFileCheckEnabled() == false
parent
0bbda43385
commit
b336725ca0
|
@ -234,7 +234,7 @@ SharedHandle<CheckIntegrityEntry> RequestGroup::createCheckIntegrityEntry()
|
|||
// infoFile exists.
|
||||
loadAndOpenFile(infoFile);
|
||||
checkEntry.reset(new StreamCheckIntegrityEntry(this));
|
||||
} else if(infoFile->exists()) {
|
||||
} else if(isPreLocalFileCheckEnabled() && infoFile->exists()) {
|
||||
loadAndOpenFile(infoFile);
|
||||
if(downloadFinished()) {
|
||||
#ifdef ENABLE_MESSAGE_DIGEST
|
||||
|
|
Loading…
Reference in New Issue