diff --git a/host/host_aix.go b/host/host_aix.go index a0922ee..23a1a62 100644 --- a/host/host_aix.go +++ b/host/host_aix.go @@ -92,7 +92,7 @@ func UsersWithContext(ctx context.Context) ([]UserStat, error) { } hf := strings.Fields(lines[1]) // headers - for l := 2; l < len(lines)-1; l++ { + for l := 2; l < len(lines); l++ { v := strings.Fields(lines[l]) // values us := &UserStat{} for i, header := range hf {