diff --git a/configfiles.go b/configfiles.go index 00aaaa3..b23cb0d 100644 --- a/configfiles.go +++ b/configfiles.go @@ -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 } } }