diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-23 23:45:04 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-23 23:45:04 +0000 |
commit | d60ed0ef3ec58193718b9d3bcd672bafc970c5b3 (patch) | |
tree | 33a03724a97ff1d039cf8122da924ce26f693ab9 /libgo/go/syscall | |
parent | 4ef52b11c752998b4729b21ebaa325d0f01e315a (diff) | |
download | gcc-d60ed0ef3ec58193718b9d3bcd672bafc970c5b3.tar.gz |
PR go/64573
syscall: Restore line somehow lost in libgo merge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/syscall')
-rw-r--r-- | libgo/go/syscall/exec_unix.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/syscall/exec_unix.go b/libgo/go/syscall/exec_unix.go index 6bf28cc8ac2..a49d95bc94c 100644 --- a/libgo/go/syscall/exec_unix.go +++ b/libgo/go/syscall/exec_unix.go @@ -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() |