diff options
Diffstat (limited to 'src/StreamFileAllocationEntry.cc')
| -rw-r--r-- | src/StreamFileAllocationEntry.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/StreamFileAllocationEntry.cc b/src/StreamFileAllocationEntry.cc index 97011dd1..29e1979e 100644 --- a/src/StreamFileAllocationEntry.cc +++ b/src/StreamFileAllocationEntry.cc @@ -99,7 +99,8 @@ void StreamFileAllocationEntry::prepareForNextAction( rg->createNextCommandWithAdj(commands, e, 0); } - if (!rg->allDownloadFinished()) { + if (option->getAsInt(PREF_AUTO_SAVE_INTERVAL) != 0 && + !rg->allDownloadFinished()) { try { rg->saveControlFile(); } |
