mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	updating cadvisor deps
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/standard_init_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/opencontainers/runc/libcontainer/standard_init_linux.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -144,7 +144,7 @@ func (l *linuxStandardInit) Init() error {
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
	// compare the parent from the inital start of the init process and make sure that it did not change.
 | 
			
		||||
	// if the parent changes that means it died and we were reparened to something else so we should
 | 
			
		||||
	// if the parent changes that means it died and we were reparented to something else so we should
 | 
			
		||||
	// just kill ourself and not cause problems for someone else.
 | 
			
		||||
	if syscall.Getppid() != l.parentPid {
 | 
			
		||||
		return syscall.Kill(syscall.Getpid(), syscall.SIGKILL)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user