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 }