summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Strasheim <fullung@gmail.com>2012-02-14 21:31:20 -0800
committerAlbert Strasheim <fullung@gmail.com>2012-02-14 21:31:20 -0800
commitaca0d490f8f37720309ffe0a31eca8238e30312a (patch)
tree2db20175174ac9097dcedb4f9d8bf96746ada2e4
parent7752d908bb95ed8f75ddb86875d1dc5a8ddf87ac (diff)
downloadgo-aca0d490f8f37720309ffe0a31eca8238e30312a.tar.gz
syscall: Make Pdeathsig type Signal in SysProcAttr on Linux.
R=rsc, iant, iant CC=golang-dev http://codereview.appspot.com/5656058 Committer: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/pkg/syscall/exec_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/syscall/exec_linux.go b/src/pkg/syscall/exec_linux.go
index b9ce3676e..70f3e6217 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.