From c0815a18b41dd3c706d65de6b16c2d662a4e6c17 Mon Sep 17 00:00:00 2001 From: Tau Date: Sun, 24 Mar 2024 15:35:35 +0100 Subject: [PATCH] fixes logic error causing infinite waiting --- core/disk/partition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/disk/partition.go b/core/disk/partition.go index ae8a7ad3..15cdb86d 100644 --- a/core/disk/partition.go +++ b/core/disk/partition.go @@ -328,7 +328,7 @@ func (part *Partition) WaitUntilAvailable() { return } - if uuid, err := part.GetUUID(); err != nil && uuid != "" { + if uuid, err := part.GetUUID(); err == nil && uuid != "" { return }