mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Make --check-orphans work with --download
This commit is contained in:
parent
fd5d9a4b43
commit
4dba1c2890
4
main.cpp
4
main.cpp
@ -359,5 +359,9 @@ int main(int argc, char *argv[])
|
|||||||
<< options_cli_all << std::endl;
|
<< 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user