fix: kernelVersion.err should be clear if final version from utsname

This commit is contained in:
mzz2017 2023-03-08 17:01:24 +08:00
parent c691d5b37a
commit 50d1981709

View File

@ -115,6 +115,7 @@ func KernelVersion() (Version, error) {
return
}
kernelVersion.version = version
kernelVersion.err = nil
}
})