Remove obsolete comment about reaper in containerd/main.go (#297)
Sigchld reaper has been removed from containerd procss in
847690583f
, so the comment
is not need any more.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
621f263475
commit
95d78cad59
1 changed files with 0 additions and 2 deletions
|
@ -128,8 +128,6 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func daemon(context *cli.Context) error {
|
func daemon(context *cli.Context) error {
|
||||||
// setup a standard reaper so that we don't leave any zombies if we are still alive
|
|
||||||
// this is just good practice because we are spawning new processes
|
|
||||||
s := make(chan os.Signal, 2048)
|
s := make(chan os.Signal, 2048)
|
||||||
signal.Notify(s, syscall.SIGTERM, syscall.SIGINT)
|
signal.Notify(s, syscall.SIGTERM, syscall.SIGINT)
|
||||||
sv, err := supervisor.New(
|
sv, err := supervisor.New(
|
||||||
|
|
Loading…
Reference in a new issue