1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00

add formatting directive to failure to stop container error

Upstream-commit: 641ddaeb03f8b8eee5c1ca11e3024976378ceb6d
Component: engine
This commit is contained in:
unclejack
2013-08-09 23:27:34 +03:00
parent 7d76874bcb
commit 71d8c53721

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)
}
}
}()