Use early exit for --help and --version options.
This commit is contained in:
@@ -89,10 +89,6 @@ xmrig::App::~App()
|
||||
|
||||
int xmrig::App::exec()
|
||||
{
|
||||
if (m_controller->isDone()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!m_controller->isReady()) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user