We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1737917 commit a996b69Copy full SHA for a996b69
vmdetect/windows.go
@@ -161,9 +161,9 @@ func checkRegistry() (bool, string) {
161
If so, a non-empty string is also returned to tell how it was detected.
162
*/
163
func IsRunningInVirtualMachine() (bool, string) {
164
- /*if vmDetected, how := CommonChecks(); vmDetected {
+ if vmDetected, how := CommonChecks(); vmDetected {
165
return vmDetected, how
166
- }*/
+ }
167
168
if vmDetected, registryKey := checkRegistry(); vmDetected {
169
return vmDetected, fmt.Sprintf("Registry key (%v)", registryKey)
0 commit comments