From 571d6fc5e8a77e5444390b02b25859365cdf45bc Mon Sep 17 00:00:00 2001 From: Albert Strasheim Date: Tue, 14 Feb 2012 21:31:20 -0800 Subject: [PATCH] syscall: Make Pdeathsig type Signal in SysProcAttr on Linux. R=rsc, iant, iant CC=golang-dev https://golang.org/cl/5656058 --- src/pkg/syscall/exec_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.50.0