go.mod: github.com/containerd/cgroups/v3 v3.0.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/golang.org/x/sys/execabs/execabs.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/golang.org/x/sys/execabs/execabs.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -63,7 +63,7 @@ func LookPath(file string) (string, error) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func fixCmd(name string, cmd *exec.Cmd) {
 | 
			
		||||
	if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) {
 | 
			
		||||
	if filepath.Base(name) == name && !filepath.IsAbs(cmd.Path) && !isGo119ErrFieldSet(cmd) {
 | 
			
		||||
		// exec.Command was called with a bare binary name and
 | 
			
		||||
		// exec.LookPath returned a path which is not absolute.
 | 
			
		||||
		// Set cmd.lookPathErr and clear cmd.Path so that it
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user