diff --git a/main.cpp b/main.cpp index bf5f26a..294c0ca 100644 --- a/main.cpp +++ b/main.cpp @@ -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; }