Skip to content

Commit

Permalink
fixes logic error causing infinite waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Mar 24, 2024
1 parent 841eaad commit c0815a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/disk/partition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit c0815a1

Please sign in to comment.