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.
2 parents b6abb49 + a996b69 commit 61a5e25Copy full SHA for 61a5e25
vmdetect/windows.go
@@ -228,9 +228,9 @@ func checkFileSystem() bool {
228
If so, a non-empty string is also returned to tell how it was detected.
229
*/
230
func IsRunningInVirtualMachine() (bool, string) {
231
- /*if vmDetected, how := CommonChecks(); vmDetected {
+ if vmDetected, how := CommonChecks(); vmDetected {
232
return vmDetected, how
233
- }*/
+ }
234
235
if vmDetected, registryKey := checkRegistry(); vmDetected {
236
return vmDetected, fmt.Sprintf("Registry key (%v)", registryKey)
0 commit comments