summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/execabs/execabs_go119.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/execabs/execabs_go119.go')
-rw-r--r--vendor/golang.org/x/sys/execabs/execabs_go119.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/execabs/execabs_go119.go b/vendor/golang.org/x/sys/execabs/execabs_go119.go
index 46c5b525..f364b341 100644
--- a/vendor/golang.org/x/sys/execabs/execabs_go119.go
+++ b/vendor/golang.org/x/sys/execabs/execabs_go119.go
@@ -15,3 +15,7 @@ import (
func isGo119ErrDot(err error) bool {
return errors.Is(err, exec.ErrDot)
}
+
+func isGo119ErrFieldSet(cmd *exec.Cmd) bool {
+ return cmd.Err != nil
+}