Fix condition to execute finalizer (#11575)

This commit is contained in:
Jacques Eloff 2021-08-18 15:54:00 -07:00 committed by GitHub
parent a0698f853b
commit 47540bc63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,7 +317,7 @@ int wmain(int argc, wchar_t* argv[])
hr = ::DetectSdk(sczFeatureBandVersion, argv[3], &bSdkFeatureBandInstalled);
ExitOnFailure(hr, "Failed to detect installed SDKs.");
if (bSdkFeatureBandInstalled)
if (!bSdkFeatureBandInstalled)
{
goto LExit;
}