fix windows build (#2360)

This commit is contained in:
Alessandro Ros
2023-09-16 23:21:10 +02:00
committed by GitHub
parent 1f840a1bea
commit bedfa9651a
+1 -1
View File
@@ -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