Use early exit for --help and --version options.
This commit is contained in:
parent
14e7c82512
commit
70d6e0e62c
12 changed files with 282 additions and 151 deletions
|
@ -89,10 +89,6 @@ xmrig::App::~App()
|
|||
|
||||
int xmrig::App::exec()
|
||||
{
|
||||
if (m_controller->isDone()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!m_controller->isReady()) {
|
||||
return 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue