1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

add formatting directive to failure to stop container error

This commit is contained in:
unclejack 2013-08-09 23:27:34 +03:00
parent 2ba5c91547
commit 641ddaeb03

View file

@ -1399,7 +1399,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
for sig := range signals {
fmt.Printf("\nReceived signal: %s; cleaning up\n", sig)
if err := cli.CmdStop("-t", "4", runResult.ID); err != nil {
fmt.Printf("failed to stop container:", err)
fmt.Printf("failed to stop container: %v", err)
}
}
}()