Skip to content

Commit

Permalink
Return error if forcestop is not used
Browse files Browse the repository at this point in the history
This is again missed during 02a30b and this patch will be fixing the
fact that we'd always error out when forced shutdown was triggered,
even if it was successful.
  • Loading branch information
praveenkumar committed Jul 12, 2021
1 parent 5339a20 commit c3360d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/crc/machine/generate_bundle.go
Expand Up @@ -37,8 +37,9 @@ func (client *client) GenerateBundle(forceStop bool) error {
if err := client.PowerOff(); err != nil {
return err
}
} else {
return err
}
return err
}
running, err := client.IsRunning()
if err != nil {
Expand Down

0 comments on commit c3360d0

Please sign in to comment.