]> Cypherpunks repositories - gostls13.git/commit
os: don't try to signal PID -1 on Unix
authorIan Lance Taylor <iant@golang.org>
Wed, 17 Jul 2024 16:23:09 +0000 (09:23 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 17 Jul 2024 20:32:58 +0000 (20:32 +0000)
commit420037b16de64f1117bd47a4f3448990fb137fd0
treef104c07af76dc05d1b17c217a3c364bd5b8e7596
parent87abb4afb63918d3e5ee5d7ebd196386fa22e368
os: don't try to signal PID -1 on Unix

This restores behavior that we lost in CL 588675.

Fixes #68496

Change-Id: I1740986bed647835986d54109071b7a6b37413d5
Reviewed-on: https://go-review.googlesource.com/c/go/+/599015
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
src/os/exec_unix.go
src/os/exec_unix_test.go