From c2c72bcfd796a43b9be33705ec695455c9823489 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Sat, 13 Apr 2013 15:03:24 -0700 Subject: [PATCH] Add \r to error message in run raw mode --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index dc2bb20ac6..8cd149b3cb 100644 --- a/commands.go +++ b/commands.go @@ -925,7 +925,7 @@ func (srv *Server) CmdRun(stdin io.ReadCloser, stdout rcli.DockerConn, args ...s if err != nil { // If container not found, try to pull it if srv.runtime.graph.IsNotExist(err) { - fmt.Fprintf(stdout, "Image %s not found, trying to pull it from registry.\n", config.Image) + fmt.Fprintf(stdout, "Image %s not found, trying to pull it from registry.\r\n", config.Image) if err = srv.CmdPull(stdin, stdout, config.Image); err != nil { return err }