mirror of https://github.com/golang/go.git
os/exec: don't convert byte slice to string when using verb %s
This commit is contained in:
parent
a9859a7df7
commit
a91d74ae55
|
|
@ -45,7 +45,7 @@ func cmdExec(args ...string) {
|
|||
fmt.Fprintf(os.Stderr, "Child: %s %s", err, string(output))
|
||||
os.Exit(1)
|
||||
}
|
||||
fmt.Printf("%s", string(output))
|
||||
fmt.Printf("%s", output)
|
||||
}
|
||||
|
||||
func installExe(t *testing.T, dest, src string) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue