#341 Fix wrong exit code.

This commit is contained in:
XMRig 2018-01-20 12:58:43 +07:00
parent f210708f3b
commit 56ffa7af79

View file

@ -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);