fix command line comparison

This commit is contained in:
zeffy
2018-03-09 00:58:13 -08:00
parent 595f7ea184
commit 3aec51069e

View File

@@ -77,7 +77,7 @@ DWORD WINAPI cb_start(HANDLE *pParam)
CloseServiceHandle(hService); CloseServiceHandle(hService);
CloseServiceHandle(hSCM); CloseServiceHandle(hSCM);
if ( !tmp || dwProcessId != GetCurrentProcessId() ) { if ( tmp || dwProcessId != GetCurrentProcessId() ) {
trace(L"Injected into wrong process!"); trace(L"Injected into wrong process!");
goto release; goto release;
} }