mirror of
https://github.com/kairos-io/immucore.git
synced 2025-08-31 14:19:07 +00:00
✨ Conditional for loading oem (#85)
This commit is contained in:
@@ -258,6 +258,7 @@ func GetOemLabel() string {
|
||||
runtime, err := state.NewRuntime()
|
||||
if err != nil {
|
||||
Log.Debug().Err(err).Msg("runtime")
|
||||
return ""
|
||||
}
|
||||
return runtime.OEM.Label
|
||||
}
|
||||
|
Reference in New Issue
Block a user