Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Olszak committed Apr 5, 2021
1 parent 215df55 commit de2952c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/TiMemAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ DWORD install_elam()
if (hFile == INVALID_HANDLE_VALUE) {
ret = 1;
log_debug(L"TiEtwSensor: Unable to read driver file\n");
return;
return ret;
}

if (InstallELAMCertificateInfo(hFile) == FALSE) {
ret = 1;
log_debug(L"TiEtwSensor: Unable to install ELAM certificate\n");
return;
return ret;
}

log_debug(L"TiEtwSensor: ELAM driver has been installed successfully\n");
Expand Down

0 comments on commit de2952c

Please sign in to comment.