Flatten stuff

This commit is contained in:
Michael Crosby
2015-11-06 15:42:32 -08:00
parent 86ec7e8fd2
commit 412d2b0239
5 changed files with 8 additions and 23 deletions

View File

@@ -72,7 +72,6 @@ func startSignalHandler(supervisor *containerd.Supervisor, bufferSize int) {
logrus.WithField("signal", s).Debug("containerd: received signal")
switch s {
case syscall.SIGTERM, syscall.SIGINT, syscall.SIGSTOP:
supervisor.Stop()
os.Exit(0)
case syscall.SIGCHLD:
exits, err := reap()