fix hypervisor active logic upsidedown

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-13 05:08:36 -05:00
parent ccbdef1a13
commit aa6b142b7c
1 changed files with 2 additions and 2 deletions

View File

@ -66,9 +66,9 @@ func readHypervisorFile(filename string) {
name := fields[0]
h := addHypervisor(name)
if len(fields) < 2 || fields[1] != "active" {
h.Active = true
} else {
h.Active = false
} else {
h.Active = true
}
}
}