summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
-rw-r--r--src/CheckIntegrityCommand.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc
index d7b92a2e..c3c0ca73 100644
--- a/src/CheckIntegrityCommand.cc
+++ b/src/CheckIntegrityCommand.cc
@@ -60,7 +60,10 @@ bool CheckIntegrityCommand::executeInternal()
_entry->validateChunk();
if(_entry->finished()) {
_e->_checkIntegrityMan->dropPickedEntry();
-
+ // Enable control file saving here. See also
+ // RequestGroup::processCheckIntegrityEntry() to know why this is
+ // needed.
+ _requestGroup->enableSaveControlFile();
if(_requestGroup->downloadFinished()) {
logger->notice(MSG_VERIFICATION_SUCCESSFUL,
_requestGroup->getDownloadContext()->getBasePath().c_str());