diff --git a/host/host_openbsd.go b/host/host_openbsd.go index cfac1e9..4b9b04b 100644 --- a/host/host_openbsd.go +++ b/host/host_openbsd.go @@ -78,7 +78,7 @@ func UsersWithContext(ctx context.Context) ([]UserStat, error) { var u Utmp br := bytes.NewReader(b) err := binary.Read(br, binary.LittleEndian, &u) - if err != nil || u.Time == 0 { + if err != nil || u.Time == 0 || u.Name[0] == 0 { continue } user := UserStat{