From cc678a7078b417a330e8d4e3604b74f9e5d4cda4 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) --- pkg/libcontainer/mount/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/libcontainer/mount/init.go b/pkg/libcontainer/mount/init.go index b0a3ef1061..d01e9d5c95 100644 --- a/pkg/libcontainer/mount/init.go +++ b/pkg/libcontainer/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 {