Skip to content

Commit

Permalink
chore: remove channel blocking in qemu launch
Browse files Browse the repository at this point in the history
The channel is never read from.

Signed-off-by: fazledyn-or <ataf@openrefactory.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
fazledyn-or authored and smira committed Feb 2, 2024
1 parent 029d7f7 commit d7d4154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/provision/providers/qemu/launch.go
Expand Up @@ -394,6 +394,8 @@ func launchVM(config *LaunchConfig) error {
return fmt.Errorf("failed to kill process %w", err)
}

<-done

return fmt.Errorf("process stopped")
case err := <-done:
if err != nil {
Expand Down

0 comments on commit d7d4154

Please sign in to comment.