mirror of https://github.com/jetkvm/kvm.git
fix: return value not checked
This commit is contained in:
parent
dcb8c79820
commit
cf781262f6
|
|
@ -60,7 +60,9 @@ func initNative(systemVersion *semver.Version, appVersion *semver.Version) {
|
||||||
})
|
})
|
||||||
|
|
||||||
nativeInstance.Start()
|
nativeInstance.Start()
|
||||||
nativeInstance.VideoSetEDID(config.EdidString)
|
if err := nativeInstance.VideoSetEDID(config.EdidString); err != nil {
|
||||||
|
nativeLogger.Warn().Err(err).Msg("error setting EDID")
|
||||||
|
}
|
||||||
|
|
||||||
if os.Getenv("JETKVM_CRASH_TESTING") == "1" {
|
if os.Getenv("JETKVM_CRASH_TESTING") == "1" {
|
||||||
nativeInstance.DoNotUseThisIsForCrashTestingOnly()
|
nativeInstance.DoNotUseThisIsForCrashTestingOnly()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue