Skip to content

Commit

Permalink
Actually exit after threatening to (also fix spelling)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spudz76 committed Mar 22, 2019
1 parent c68451b commit c2d750a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/workers/CudaWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ CudaWorker::CudaWorker(Handle *handle) :
void CudaWorker::start()
{
if (cuda_get_deviceinfo(&m_ctx, m_algorithm, false) != 0 || cryptonight_gpu_init(&m_ctx, m_algorithm) != 1) {
LOG_ERR("Setup failed for GPU %zu. Exitting.", m_id);
return;
LOG_ERR("Setup failed for GPU %zu. Exiting.", m_id);
exit(1);
}

while (Workers::sequence() > 0) {
Expand Down

0 comments on commit c2d750a

Please sign in to comment.