From aa6b142b7c156b8f1925eb4af10b0b371263a129 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 13 Oct 2024 05:08:36 -0500 Subject: [PATCH] fix hypervisor active logic upsidedown Signed-off-by: Jeff Carr --- configfiles.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } } }