Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make --check-orphans work with --download
  • Loading branch information
Sude- committed Feb 28, 2014
1 parent fd5d9a4 commit 4dba1c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.cpp
Expand Up @@ -359,5 +359,9 @@ int main(int argc, char *argv[])
<< options_cli_all << std::endl;
}

// Orphan check was called at the same time as download. Perform it after download has finished
if (!config.sOrphanRegex.empty() && config.bDownload)
downloader.checkOrphans();

return 0;
}

0 comments on commit 4dba1c2

Please sign in to comment.