mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-19 02:21:04 +00:00
#341 Fix wrong exit code.
This commit is contained in:
parent
f210708f3b
commit
56ffa7af79
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ App::~App()
|
||||||
int App::exec()
|
int App::exec()
|
||||||
{
|
{
|
||||||
if (!m_options) {
|
if (!m_options) {
|
||||||
return 0;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
uv_signal_start(&m_sigHUP, App::onSignal, SIGHUP);
|
uv_signal_start(&m_sigHUP, App::onSignal, SIGHUP);
|
||||||
|
|
Loading…
Reference in a new issue