mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update sig message
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
93779cc7fe
commit
ac9b06ae95
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func InitServer(job *engine.Job) engine.Status {
|
|||
gosignal.Notify(c, os.Interrupt, syscall.SIGTERM, syscall.SIGQUIT)
|
||||
go func() {
|
||||
sig := <-c
|
||||
log.Printf("Received signal '%v', exiting\n", sig)
|
||||
log.Printf("Received signal '%v', starting shutdown of docker...\n", sig)
|
||||
utils.RemovePidFile(srv.runtime.Config().Pidfile)
|
||||
srv.Close()
|
||||
os.Exit(0)
|
||||
|
|
Loading…
Reference in a new issue