提交 858fa57f 编写于 作者: T tstromberg

Silence virtualbox registry check

上级 fc8e032b
...@@ -80,7 +80,6 @@ func findVBoxInstallDirInRegistry() (string, error) { ...@@ -80,7 +80,6 @@ func findVBoxInstallDirInRegistry() (string, error) {
installDir, _, err := registryKey.GetStringValue("InstallDir") installDir, _, err := registryKey.GetStringValue("InstallDir")
if err != nil { if err != nil {
errorMessage := fmt.Sprintf("Can't find InstallDir registry key within VirtualBox registries entries, is VirtualBox really installed properly? %v", err) errorMessage := fmt.Sprintf("Can't find InstallDir registry key within VirtualBox registries entries, is VirtualBox really installed properly? %v", err)
glog.Errorf(errorMessage)
return "", errors.New(errorMessage) return "", errors.New(errorMessage)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册