1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

#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

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