diff options
| author | Albert Strasheim <fullung@gmail.com> | 2012-02-14 21:31:20 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2012-02-14 21:31:20 -0800 |
| commit | 571d6fc5e8a77e5444390b02b25859365cdf45bc (patch) | |
| tree | 3c878639fba016f77c72e21d7ddc855935b73e16 /src/pkg/syscall/exec_linux.go | |
| parent | 0c5239410e90f14dadf87d73a7d8e9161eb0bec0 (diff) | |
| download | go-571d6fc5e8a77e5444390b02b25859365cdf45bc.tar.xz | |
syscall: Make Pdeathsig type Signal in SysProcAttr on Linux.
R=rsc, iant, iant
CC=golang-dev
https://golang.org/cl/5656058
Diffstat (limited to 'src/pkg/syscall/exec_linux.go')
| -rw-r--r-- | src/pkg/syscall/exec_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/syscall/exec_linux.go b/src/pkg/syscall/exec_linux.go index b9ce3676e4..70f3e6217b 100644 --- a/src/pkg/syscall/exec_linux.go +++ b/src/pkg/syscall/exec_linux.go @@ -18,7 +18,7 @@ type SysProcAttr struct { Setpgid bool // Set process group ID to new pid (SYSV setpgrp) Setctty bool // Set controlling terminal to fd 0 Noctty bool // Detach fd 0 from controlling terminal - Pdeathsig int // Signal that the process will get when its parent dies (Linux only) + Pdeathsig Signal // Signal that the process will get when its parent dies (Linux only) } // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. |
