Skip to content

Commit

Permalink
fix windows build (#2360)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Sep 16, 2023
1 parent 1f840a1 commit bedfa96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/externalcmd/cmd_win.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (e *Cmd) runOSSpecific() error {
return errTerminated

case c := <-cmdDone:
if c != nil {
if c != 0 {
return fmt.Errorf("command exited with code %d", c)
}
return nil
Expand Down

0 comments on commit bedfa96

Please sign in to comment.