diff --git a/internal/system/enablement.go b/internal/system/enablement.go index 7876f6b..f443562 100644 --- a/internal/system/enablement.go +++ b/internal/system/enablement.go @@ -24,6 +24,9 @@ var enablementString = [...]string{ const ELen = len(enablementString) func (e Enablement) String() string { + if int(e) >= ELen { + return "" + } return enablementString[e] }