From b8a8c7bfaffd62940434d5999f53db6b557940cd Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 12 May 2014 12:24:30 -0700 Subject: [PATCH] Remove newline char in error message Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- mount/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount/init.go b/mount/init.go index b0a3ef106..d01e9d5c9 100644 --- a/mount/init.go +++ b/mount/init.go @@ -128,7 +128,7 @@ func setupBindmounts(rootfs string, bindMounts libcontainer.Mounts) error { return err } if err := createIfNotExists(dest, stat.IsDir()); err != nil { - return fmt.Errorf("Creating new bind-mount target, %s\n", err) + return fmt.Errorf("Creating new bind-mount target, %s", err) } if err := system.Mount(m.Source, dest, "bind", uintptr(flags), ""); err != nil {