INNER CODE UNIT · Go
sig
kubernetes/kubeadm · kinder/images/base/docker/entrypoint/main.go:61
sig := <-c
if sig != syscall.SIGUSR1 {
log.Printf("Exiting after signal: %v != SIGUSR1", sig)
return
}
// then exec to the "real" entrypoint, keeping the env
log.Printf("Received SIGUSR1, execing to: %v %v\n", cmd, argv)
syscall.Exec(cmd, argv, os.Environ())
}