Skip to content

Commit ad2f207

Browse files
authored
Update init.go
1 parent 521e295 commit ad2f207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/go/internal/work/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func instrumentInit() {
4848
switch platform {
4949
default:
5050
fmt.Fprintf(os.Stderr, "go %s: -race is only supported on linux/amd64, linux/ppc64le, freebsd/amd64, netbsd/amd64. darwin/amd64 and windows/amd64\n", flag.Args()[0])
51-
os.Exit(2) net
51+
os.Exit(2)
5252
case "linux/amd64", "linux/ppc64le", "freebsd/amd64", "netbsd/amd64", "darwin/amd64", "windows/amd64":
5353
// race supported on these platforms
5454
}

0 commit comments

Comments
 (0)