diff --git a/src/backend/cuda/CudaBackend.cpp b/src/backend/cuda/CudaBackend.cpp index b351df751..8ba7ed5c6 100644 --- a/src/backend/cuda/CudaBackend.cpp +++ b/src/backend/cuda/CudaBackend.cpp @@ -457,9 +457,11 @@ void xmrig::CudaBackend::tick(uint64_t ticks) d_ptr->workers.tick(ticks); # ifdef XMRIG_FEATURE_NVML - auto seconds = d_ptr->controller->config()->healthPrintTime(); - if (seconds && ticks && (ticks % (seconds * 2)) == 0) { - d_ptr->printHealth(); + if (isEnabled()) { + auto seconds = d_ptr->controller->config()->healthPrintTime(); + if (seconds && ticks && (ticks % (seconds * 2)) == 0) { + d_ptr->printHealth(); + } } # endif }