#1937 Print path to existing WinRing0 service without verbose option.

This commit is contained in:
XMRig 2020-11-12 23:32:49 +07:00
parent a076f739e3
commit 3b6cfd9c4f
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -135,7 +135,7 @@ static HANDLE wrmsr_install_driver()
SERVICE_STATUS status; SERVICE_STATUS status;
const auto rc = QueryServiceStatus(hService, &status); const auto rc = QueryServiceStatus(hService, &status);
if (rc && Log::isVerbose()) { if (rc) {
DWORD dwBytesNeeded; DWORD dwBytesNeeded;
QueryServiceConfigA(hService, nullptr, 0, &dwBytesNeeded); QueryServiceConfigA(hService, nullptr, 0, &dwBytesNeeded);