1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-23 06:52:33 -05:00

Use early exit for --help and --version options.

This commit is contained in:
XMRig
2019-02-15 09:11:18 +07:00
parent 14e7c82512
commit 70d6e0e62c
12 changed files with 282 additions and 151 deletions

View File

@@ -89,10 +89,6 @@ xmrig::App::~App()
int xmrig::App::exec()
{
if (m_controller->isDone()) {
return 0;
}
if (!m_controller->isReady()) {
return 2;
}