Conditional for loading oem (#85)

This commit is contained in:
Itxaka
2023-03-09 12:57:10 +01:00
committed by GitHub
parent 9687ca1ac6
commit 88a2ca8a9b
6 changed files with 11 additions and 14 deletions

View File

@@ -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
}