mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
Update sig message
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user