Commit ba986acb by Ian Lance Taylor

re PR go/64573 (Cmd.Start swallows error from fork()/clone())

	PR go/64573
syscall: Restore line somehow lost in libgo merge.

From-SVN: r220068
parent 9d8d3ba2
......@@ -226,6 +226,7 @@ func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
// Kick off child.
pid, err1 = forkAndExecInChild(argv0p, argvp, envvp, chroot, dir, attr, sys, p[1])
if err1 != 0 {
err = Errno(err1)
goto error
}
ForkLock.Unlock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment