Browse code

Remove newline char in error message Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Michael Crosby authored on 2014/05/13 04:24:30
Showing 1 changed files
... ...
@@ -128,7 +128,7 @@ func setupBindmounts(rootfs string, bindMounts libcontainer.Mounts) error {
128 128
 			return err
129 129
 		}
130 130
 		if err := createIfNotExists(dest, stat.IsDir()); err != nil {
131
-			return fmt.Errorf("Creating new bind-mount target, %s\n", err)
131
+			return fmt.Errorf("Creating new bind-mount target, %s", err)
132 132
 		}
133 133
 
134 134
 		if err := system.Mount(m.Source, dest, "bind", uintptr(flags), ""); err != nil {