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
This commit is contained in:
parent
9d8d3ba2bc
commit
ba986acb05
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue